Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
- type AddMemberRequest
- func (*AddMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddMemberRequest) GetCreatorId() string
- func (x *AddMemberRequest) GetOrgId() string
- func (x *AddMemberRequest) GetUsername() string
- func (*AddMemberRequest) ProtoMessage()
- func (x *AddMemberRequest) ProtoReflect() protoreflect.Message
- func (x *AddMemberRequest) Reset()
- func (x *AddMemberRequest) String() string
- type AddMemberResponse
- func (*AddMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddMemberResponse) GetMember() *Member
- func (x *AddMemberResponse) GetStatus() *status.Status
- func (*AddMemberResponse) ProtoMessage()
- func (x *AddMemberResponse) ProtoReflect() protoreflect.Message
- func (x *AddMemberResponse) Reset()
- func (x *AddMemberResponse) String() string
- type AddMembersRequest
- func (*AddMembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddMembersRequest) GetCreatorId() string
- func (x *AddMembersRequest) GetMembersData() []*AddMembersRequest_MemberData
- func (x *AddMembersRequest) GetOrgId() string
- func (*AddMembersRequest) ProtoMessage()
- func (x *AddMembersRequest) ProtoReflect() protoreflect.Message
- func (x *AddMembersRequest) Reset()
- func (x *AddMembersRequest) String() string
- type AddMembersRequest_MemberData
- func (*AddMembersRequest_MemberData) Descriptor() ([]byte, []int)deprecated
- func (x *AddMembersRequest_MemberData) GetGithubUid() string
- func (x *AddMembersRequest_MemberData) GetGithubUsername() string
- func (x *AddMembersRequest_MemberData) GetInviteEmail() string
- func (*AddMembersRequest_MemberData) ProtoMessage()
- func (x *AddMembersRequest_MemberData) ProtoReflect() protoreflect.Message
- func (x *AddMembersRequest_MemberData) Reset()
- func (x *AddMembersRequest_MemberData) String() string
- type AddMembersResponse
- func (*AddMembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AddMembersResponse) GetMembers() []*Member
- func (*AddMembersResponse) ProtoMessage()
- func (x *AddMembersResponse) ProtoReflect() protoreflect.Message
- func (x *AddMembersResponse) Reset()
- func (x *AddMembersResponse) String() string
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRequest) GetCreatorId() string
- func (x *CreateRequest) GetOrganizationName() string
- func (x *CreateRequest) GetOrganizationUsername() string
- func (*CreateRequest) ProtoMessage()
- func (x *CreateRequest) ProtoReflect() protoreflect.Message
- func (x *CreateRequest) Reset()
- func (x *CreateRequest) String() string
- type CreateResponse
- func (*CreateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateResponse) GetOrganization() *Organization
- func (x *CreateResponse) GetStatus() *response_status.ResponseStatus
- func (*CreateResponse) ProtoMessage()
- func (x *CreateResponse) ProtoReflect() protoreflect.Message
- func (x *CreateResponse) Reset()
- func (x *CreateResponse) String() string
- type CreateWithQuotasRequest
- func (*CreateWithQuotasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWithQuotasRequest) GetOrganization() *Organization
- func (x *CreateWithQuotasRequest) GetQuotas() []*Quota
- func (*CreateWithQuotasRequest) ProtoMessage()
- func (x *CreateWithQuotasRequest) ProtoReflect() protoreflect.Message
- func (x *CreateWithQuotasRequest) Reset()
- func (x *CreateWithQuotasRequest) String() string
- type CreateWithQuotasResponse
- func (*CreateWithQuotasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateWithQuotasResponse) GetOrganization() *Organization
- func (*CreateWithQuotasResponse) ProtoMessage()
- func (x *CreateWithQuotasResponse) ProtoReflect() protoreflect.Message
- func (x *CreateWithQuotasResponse) Reset()
- func (x *CreateWithQuotasResponse) String() string
- type DeleteMemberRequest
- func (*DeleteMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMemberRequest) GetMembershipId() string
- func (x *DeleteMemberRequest) GetOrgId() string
- func (x *DeleteMemberRequest) GetUserId() string
- func (*DeleteMemberRequest) ProtoMessage()
- func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteMemberRequest) Reset()
- func (x *DeleteMemberRequest) String() string
- type DeleteMemberResponse
- func (*DeleteMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteMemberResponse) GetStatus() *status.Status
- func (*DeleteMemberResponse) ProtoMessage()
- func (x *DeleteMemberResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteMemberResponse) Reset()
- func (x *DeleteMemberResponse) String() string
- type DescribeManyRequest
- func (*DescribeManyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeManyRequest) GetOrgIds() []string
- func (*DescribeManyRequest) ProtoMessage()
- func (x *DescribeManyRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeManyRequest) Reset()
- func (x *DescribeManyRequest) String() string
- type DescribeManyResponse
- func (*DescribeManyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeManyResponse) GetOrganizations() []*Organization
- func (*DescribeManyResponse) ProtoMessage()
- func (x *DescribeManyResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeManyResponse) Reset()
- func (x *DescribeManyResponse) String() string
- type DescribeRequest
- func (*DescribeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeRequest) GetIncludeQuotas() bool
- func (x *DescribeRequest) GetOrgId() string
- func (x *DescribeRequest) GetOrgUsername() string
- func (*DescribeRequest) ProtoMessage()
- func (x *DescribeRequest) ProtoReflect() protoreflect.Message
- func (x *DescribeRequest) Reset()
- func (x *DescribeRequest) String() string
- type DescribeResponse
- func (*DescribeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DescribeResponse) GetOrganization() *Organization
- func (x *DescribeResponse) GetStatus() *response_status.ResponseStatus
- func (*DescribeResponse) ProtoMessage()
- func (x *DescribeResponse) ProtoReflect() protoreflect.Message
- func (x *DescribeResponse) Reset()
- func (x *DescribeResponse) String() string
- type DestroyRequest
- type FetchOrganizationContactsRequest
- func (*FetchOrganizationContactsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchOrganizationContactsRequest) GetOrgId() string
- func (*FetchOrganizationContactsRequest) ProtoMessage()
- func (x *FetchOrganizationContactsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchOrganizationContactsRequest) Reset()
- func (x *FetchOrganizationContactsRequest) String() string
- type FetchOrganizationContactsResponse
- func (*FetchOrganizationContactsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchOrganizationContactsResponse) GetOrgContacts() []*OrganizationContact
- func (*FetchOrganizationContactsResponse) ProtoMessage()
- func (x *FetchOrganizationContactsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchOrganizationContactsResponse) Reset()
- func (x *FetchOrganizationContactsResponse) String() string
- type FetchOrganizationSettingsRequest
- func (*FetchOrganizationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FetchOrganizationSettingsRequest) GetOrgId() string
- func (*FetchOrganizationSettingsRequest) ProtoMessage()
- func (x *FetchOrganizationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *FetchOrganizationSettingsRequest) Reset()
- func (x *FetchOrganizationSettingsRequest) String() string
- type FetchOrganizationSettingsResponse
- func (*FetchOrganizationSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FetchOrganizationSettingsResponse) GetSettings() []*OrganizationSetting
- func (*FetchOrganizationSettingsResponse) ProtoMessage()
- func (x *FetchOrganizationSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *FetchOrganizationSettingsResponse) Reset()
- func (x *FetchOrganizationSettingsResponse) String() string
- type GetQuotaResponse
- type GetQuotasRequest
- func (*GetQuotasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQuotasRequest) GetOrgId() string
- func (x *GetQuotasRequest) GetTypes() []Quota_Type
- func (*GetQuotasRequest) ProtoMessage()
- func (x *GetQuotasRequest) ProtoReflect() protoreflect.Message
- func (x *GetQuotasRequest) Reset()
- func (x *GetQuotasRequest) String() string
- type IsMemberRequest
- func (*IsMemberRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsMemberRequest) GetOrgId() string
- func (x *IsMemberRequest) GetOrgUsername() string
- func (x *IsMemberRequest) GetUserId() string
- func (*IsMemberRequest) ProtoMessage()
- func (x *IsMemberRequest) ProtoReflect() protoreflect.Message
- func (x *IsMemberRequest) Reset()
- func (x *IsMemberRequest) String() string
- type IsMemberResponse
- func (*IsMemberResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsMemberResponse) GetIsMember() bool
- func (x *IsMemberResponse) GetStatus() *response_status.ResponseStatus
- func (*IsMemberResponse) ProtoMessage()
- func (x *IsMemberResponse) ProtoReflect() protoreflect.Message
- func (x *IsMemberResponse) Reset()
- func (x *IsMemberResponse) String() string
- type IsOwnerRequest
- func (*IsOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *IsOwnerRequest) GetOrgId() string
- func (x *IsOwnerRequest) GetUserId() string
- func (*IsOwnerRequest) ProtoMessage()
- func (x *IsOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *IsOwnerRequest) Reset()
- func (x *IsOwnerRequest) String() string
- type IsOwnerResponse
- func (*IsOwnerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsOwnerResponse) GetIsOwner() bool
- func (x *IsOwnerResponse) GetStatus() *response_status.ResponseStatus
- func (*IsOwnerResponse) ProtoMessage()
- func (x *IsOwnerResponse) ProtoReflect() protoreflect.Message
- func (x *IsOwnerResponse) Reset()
- func (x *IsOwnerResponse) String() string
- type IsValidResponse
- func (*IsValidResponse) Descriptor() ([]byte, []int)deprecated
- func (x *IsValidResponse) GetErrors() string
- func (x *IsValidResponse) GetIsValid() bool
- func (*IsValidResponse) ProtoMessage()
- func (x *IsValidResponse) ProtoReflect() protoreflect.Message
- func (x *IsValidResponse) Reset()
- func (x *IsValidResponse) String() string
- type ListRequest
- func (*ListRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRequest) GetCreatedAtGt() *timestamp.Timestamp
- func (x *ListRequest) GetOrder() ListRequest_Order
- func (x *ListRequest) GetPageSize() int32
- func (x *ListRequest) GetPageToken() string
- func (x *ListRequest) GetUserId() string
- func (*ListRequest) ProtoMessage()
- func (x *ListRequest) ProtoReflect() protoreflect.Message
- func (x *ListRequest) Reset()
- func (x *ListRequest) String() string
- type ListRequest_Order
- func (ListRequest_Order) Descriptor() protoreflect.EnumDescriptor
- func (x ListRequest_Order) Enum() *ListRequest_Order
- func (ListRequest_Order) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListRequest_Order) Number() protoreflect.EnumNumber
- func (x ListRequest_Order) String() string
- func (ListRequest_Order) Type() protoreflect.EnumType
- type ListResponse
- func (*ListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResponse) GetNextPageToken() string
- func (x *ListResponse) GetOrganizations() []*Organization
- func (x *ListResponse) GetStatus() *response_status.ResponseStatus
- func (*ListResponse) ProtoMessage()
- func (x *ListResponse) ProtoReflect() protoreflect.Message
- func (x *ListResponse) Reset()
- func (x *ListResponse) String() string
- type ListSuspensionsRequest
- func (*ListSuspensionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSuspensionsRequest) GetOrgId() string
- func (*ListSuspensionsRequest) ProtoMessage()
- func (x *ListSuspensionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSuspensionsRequest) Reset()
- func (x *ListSuspensionsRequest) String() string
- type ListSuspensionsResponse
- func (*ListSuspensionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSuspensionsResponse) GetStatus() *status.Status
- func (x *ListSuspensionsResponse) GetSuspensions() []*Suspension
- func (*ListSuspensionsResponse) ProtoMessage()
- func (x *ListSuspensionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSuspensionsResponse) Reset()
- func (x *ListSuspensionsResponse) String() string
- type MakeOwnerRequest
- func (*MakeOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MakeOwnerRequest) GetOrgId() string
- func (x *MakeOwnerRequest) GetOwnerId() string
- func (*MakeOwnerRequest) ProtoMessage()
- func (x *MakeOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *MakeOwnerRequest) Reset()
- func (x *MakeOwnerRequest) String() string
- type Member
- func (*Member) Descriptor() ([]byte, []int)deprecated
- func (x *Member) GetAvatarUrl() string
- func (x *Member) GetGithubUid() string
- func (x *Member) GetGithubUsername() string
- func (x *Member) GetInvitedAt() *timestamp.Timestamp
- func (x *Member) GetMembershipId() string
- func (x *Member) GetRole() Member_Role
- func (x *Member) GetScreenName() string
- func (x *Member) GetUserId() string
- func (*Member) ProtoMessage()
- func (x *Member) ProtoReflect() protoreflect.Message
- func (x *Member) Reset()
- func (x *Member) String() string
- type Member_Role
- func (Member_Role) Descriptor() protoreflect.EnumDescriptor
- func (x Member_Role) Enum() *Member_Role
- func (Member_Role) EnumDescriptor() ([]byte, []int)deprecated
- func (x Member_Role) Number() protoreflect.EnumNumber
- func (x Member_Role) String() string
- func (Member_Role) Type() protoreflect.EnumType
- type MembersRequest
- func (*MembersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MembersRequest) GetNameContains() string
- func (x *MembersRequest) GetOnlyMembers() bool
- func (x *MembersRequest) GetOrgId() string
- func (x *MembersRequest) GetOrgUsername() string
- func (*MembersRequest) ProtoMessage()
- func (x *MembersRequest) ProtoReflect() protoreflect.Message
- func (x *MembersRequest) Reset()
- func (x *MembersRequest) String() string
- type MembersResponse
- func (*MembersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MembersResponse) GetMembers() []*Member
- func (x *MembersResponse) GetNotLoggedInMembers() []*Member
- func (x *MembersResponse) GetStatus() *response_status.ResponseStatus
- func (*MembersResponse) ProtoMessage()
- func (x *MembersResponse) ProtoReflect() protoreflect.Message
- func (x *MembersResponse) Reset()
- func (x *MembersResponse) String() string
- type ModifyOrganizationContactRequest
- func (*ModifyOrganizationContactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyOrganizationContactRequest) GetOrgContact() *OrganizationContact
- func (*ModifyOrganizationContactRequest) ProtoMessage()
- func (x *ModifyOrganizationContactRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyOrganizationContactRequest) Reset()
- func (x *ModifyOrganizationContactRequest) String() string
- type ModifyOrganizationContactResponse
- func (*ModifyOrganizationContactResponse) Descriptor() ([]byte, []int)deprecated
- func (*ModifyOrganizationContactResponse) ProtoMessage()
- func (x *ModifyOrganizationContactResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyOrganizationContactResponse) Reset()
- func (x *ModifyOrganizationContactResponse) String() string
- type ModifyOrganizationSettingsRequest
- func (*ModifyOrganizationSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyOrganizationSettingsRequest) GetOrgId() string
- func (x *ModifyOrganizationSettingsRequest) GetSettings() []*OrganizationSetting
- func (*ModifyOrganizationSettingsRequest) ProtoMessage()
- func (x *ModifyOrganizationSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *ModifyOrganizationSettingsRequest) Reset()
- func (x *ModifyOrganizationSettingsRequest) String() string
- type ModifyOrganizationSettingsResponse
- func (*ModifyOrganizationSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ModifyOrganizationSettingsResponse) GetSettings() []*OrganizationSetting
- func (*ModifyOrganizationSettingsResponse) ProtoMessage()
- func (x *ModifyOrganizationSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *ModifyOrganizationSettingsResponse) Reset()
- func (x *ModifyOrganizationSettingsResponse) String() string
- type Organization
- func (*Organization) Descriptor() ([]byte, []int)deprecated
- func (x *Organization) GetAllowedIdProviders() []string
- func (x *Organization) GetAvatarUrl() string
- func (x *Organization) GetCreatedAt() *timestamp.Timestamp
- func (x *Organization) GetDenyMemberWorkflows() bool
- func (x *Organization) GetDenyNonMemberWorkflows() bool
- func (x *Organization) GetIpAllowList() []string
- func (x *Organization) GetName() string
- func (x *Organization) GetOpenSource() bool
- func (x *Organization) GetOrgId() string
- func (x *Organization) GetOrgUsername() string
- func (x *Organization) GetOwnerId() string
- func (x *Organization) GetQuotas() []*Quota
- func (x *Organization) GetRestricted() bool
- func (x *Organization) GetSettings() []*OrganizationSetting
- func (x *Organization) GetSuspended() bool
- func (x *Organization) GetVerified() bool
- func (*Organization) ProtoMessage()
- func (x *Organization) ProtoReflect() protoreflect.Message
- func (x *Organization) Reset()
- func (x *Organization) String() string
- type OrganizationBlocked
- func (*OrganizationBlocked) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationBlocked) GetOrgId() string
- func (x *OrganizationBlocked) GetReason() Suspension_Reason
- func (x *OrganizationBlocked) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationBlocked) ProtoMessage()
- func (x *OrganizationBlocked) ProtoReflect() protoreflect.Message
- func (x *OrganizationBlocked) Reset()
- func (x *OrganizationBlocked) String() string
- type OrganizationContact
- func (*OrganizationContact) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationContact) GetEmail() string
- func (x *OrganizationContact) GetName() string
- func (x *OrganizationContact) GetOrgId() string
- func (x *OrganizationContact) GetPhone() string
- func (x *OrganizationContact) GetType() OrganizationContact_ContactType
- func (*OrganizationContact) ProtoMessage()
- func (x *OrganizationContact) ProtoReflect() protoreflect.Message
- func (x *OrganizationContact) Reset()
- func (x *OrganizationContact) String() string
- type OrganizationContact_ContactType
- func (OrganizationContact_ContactType) Descriptor() protoreflect.EnumDescriptor
- func (x OrganizationContact_ContactType) Enum() *OrganizationContact_ContactType
- func (OrganizationContact_ContactType) EnumDescriptor() ([]byte, []int)deprecated
- func (x OrganizationContact_ContactType) Number() protoreflect.EnumNumber
- func (x OrganizationContact_ContactType) String() string
- func (OrganizationContact_ContactType) Type() protoreflect.EnumType
- type OrganizationCreated
- func (*OrganizationCreated) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationCreated) GetOrgId() string
- func (x *OrganizationCreated) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationCreated) ProtoMessage()
- func (x *OrganizationCreated) ProtoReflect() protoreflect.Message
- func (x *OrganizationCreated) Reset()
- func (x *OrganizationCreated) String() string
- type OrganizationDailyUpdate
- func (*OrganizationDailyUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationDailyUpdate) GetCreatedAt() *timestamp.Timestamp
- func (x *OrganizationDailyUpdate) GetInvitedCount() int32
- func (x *OrganizationDailyUpdate) GetMemberCount() int32
- func (x *OrganizationDailyUpdate) GetOrgId() string
- func (x *OrganizationDailyUpdate) GetOrgName() string
- func (x *OrganizationDailyUpdate) GetOrgUsername() string
- func (x *OrganizationDailyUpdate) GetOwnerEmail() string
- func (x *OrganizationDailyUpdate) GetOwnerId() string
- func (x *OrganizationDailyUpdate) GetOwnerOwnedOrgsCount() int32
- func (x *OrganizationDailyUpdate) GetProjectsCount() int32
- func (x *OrganizationDailyUpdate) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationDailyUpdate) ProtoMessage()
- func (x *OrganizationDailyUpdate) ProtoReflect() protoreflect.Message
- func (x *OrganizationDailyUpdate) Reset()
- func (x *OrganizationDailyUpdate) String() string
- type OrganizationDeleted
- func (*OrganizationDeleted) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationDeleted) GetOrgId() string
- func (x *OrganizationDeleted) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationDeleted) ProtoMessage()
- func (x *OrganizationDeleted) ProtoReflect() protoreflect.Message
- func (x *OrganizationDeleted) Reset()
- func (x *OrganizationDeleted) String() string
- type OrganizationServiceClient
- type OrganizationServiceServer
- type OrganizationSetting
- func (*OrganizationSetting) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationSetting) GetKey() string
- func (x *OrganizationSetting) GetValue() string
- func (*OrganizationSetting) ProtoMessage()
- func (x *OrganizationSetting) ProtoReflect() protoreflect.Message
- func (x *OrganizationSetting) Reset()
- func (x *OrganizationSetting) String() string
- type OrganizationSuspensionCreated
- func (*OrganizationSuspensionCreated) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationSuspensionCreated) GetOrgId() string
- func (x *OrganizationSuspensionCreated) GetReason() Suspension_Reason
- func (x *OrganizationSuspensionCreated) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationSuspensionCreated) ProtoMessage()
- func (x *OrganizationSuspensionCreated) ProtoReflect() protoreflect.Message
- func (x *OrganizationSuspensionCreated) Reset()
- func (x *OrganizationSuspensionCreated) String() string
- type OrganizationSuspensionRemoved
- func (*OrganizationSuspensionRemoved) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationSuspensionRemoved) GetOrgId() string
- func (x *OrganizationSuspensionRemoved) GetReason() Suspension_Reason
- func (x *OrganizationSuspensionRemoved) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationSuspensionRemoved) ProtoMessage()
- func (x *OrganizationSuspensionRemoved) ProtoReflect() protoreflect.Message
- func (x *OrganizationSuspensionRemoved) Reset()
- func (x *OrganizationSuspensionRemoved) String() string
- type OrganizationUnblocked
- func (*OrganizationUnblocked) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationUnblocked) GetOrgId() string
- func (x *OrganizationUnblocked) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationUnblocked) ProtoMessage()
- func (x *OrganizationUnblocked) ProtoReflect() protoreflect.Message
- func (x *OrganizationUnblocked) Reset()
- func (x *OrganizationUnblocked) String() string
- type OrganizationUpdated
- func (*OrganizationUpdated) Descriptor() ([]byte, []int)deprecated
- func (x *OrganizationUpdated) GetOrgId() string
- func (x *OrganizationUpdated) GetTimestamp() *timestamp.Timestamp
- func (*OrganizationUpdated) ProtoMessage()
- func (x *OrganizationUpdated) ProtoReflect() protoreflect.Message
- func (x *OrganizationUpdated) Reset()
- func (x *OrganizationUpdated) String() string
- type Quota
- type Quota_Type
- type RepositoryIntegratorsRequest
- func (*RepositoryIntegratorsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryIntegratorsRequest) GetOrgId() string
- func (*RepositoryIntegratorsRequest) ProtoMessage()
- func (x *RepositoryIntegratorsRequest) ProtoReflect() protoreflect.Message
- func (x *RepositoryIntegratorsRequest) Reset()
- func (x *RepositoryIntegratorsRequest) String() string
- type RepositoryIntegratorsResponse
- func (*RepositoryIntegratorsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RepositoryIntegratorsResponse) GetAvailable() []repository_integrator.IntegrationType
- func (x *RepositoryIntegratorsResponse) GetEnabled() []repository_integrator.IntegrationType
- func (x *RepositoryIntegratorsResponse) GetPrimary() repository_integrator.IntegrationType
- func (*RepositoryIntegratorsResponse) ProtoMessage()
- func (x *RepositoryIntegratorsResponse) ProtoReflect() protoreflect.Message
- func (x *RepositoryIntegratorsResponse) Reset()
- func (x *RepositoryIntegratorsResponse) String() string
- type SetOpenSourceRequest
- func (*SetOpenSourceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SetOpenSourceRequest) GetOrgId() string
- func (*SetOpenSourceRequest) ProtoMessage()
- func (x *SetOpenSourceRequest) ProtoReflect() protoreflect.Message
- func (x *SetOpenSourceRequest) Reset()
- func (x *SetOpenSourceRequest) String() string
- type SetOpenSourceResponse
- func (*SetOpenSourceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetOpenSourceResponse) GetOrganization() *Organization
- func (*SetOpenSourceResponse) ProtoMessage()
- func (x *SetOpenSourceResponse) ProtoReflect() protoreflect.Message
- func (x *SetOpenSourceResponse) Reset()
- func (x *SetOpenSourceResponse) String() string
- type SuspendRequest
- func (*SuspendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SuspendRequest) GetDescription() string
- func (x *SuspendRequest) GetOrgId() string
- func (x *SuspendRequest) GetOrigin() string
- func (x *SuspendRequest) GetReason() Suspension_Reason
- func (*SuspendRequest) ProtoMessage()
- func (x *SuspendRequest) ProtoReflect() protoreflect.Message
- func (x *SuspendRequest) Reset()
- func (x *SuspendRequest) String() string
- type SuspendResponse
- type Suspension
- func (*Suspension) Descriptor() ([]byte, []int)deprecated
- func (x *Suspension) GetCreatedAt() *timestamp.Timestamp
- func (x *Suspension) GetDescription() string
- func (x *Suspension) GetOrigin() string
- func (x *Suspension) GetReason() Suspension_Reason
- func (*Suspension) ProtoMessage()
- func (x *Suspension) ProtoReflect() protoreflect.Message
- func (x *Suspension) Reset()
- func (x *Suspension) String() string
- type Suspension_Reason
- func (Suspension_Reason) Descriptor() protoreflect.EnumDescriptor
- func (x Suspension_Reason) Enum() *Suspension_Reason
- func (Suspension_Reason) EnumDescriptor() ([]byte, []int)deprecated
- func (x Suspension_Reason) Number() protoreflect.EnumNumber
- func (x Suspension_Reason) String() string
- func (Suspension_Reason) Type() protoreflect.EnumType
- type UnimplementedOrganizationServiceServer
- func (UnimplementedOrganizationServiceServer) AddMember(context.Context, *AddMemberRequest) (*AddMemberResponse, error)
- func (UnimplementedOrganizationServiceServer) AddMembers(context.Context, *AddMembersRequest) (*AddMembersResponse, error)
- func (UnimplementedOrganizationServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
- func (UnimplementedOrganizationServiceServer) CreateWithQuotas(context.Context, *CreateWithQuotasRequest) (*CreateWithQuotasResponse, error)
- func (UnimplementedOrganizationServiceServer) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error)
- func (UnimplementedOrganizationServiceServer) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
- func (UnimplementedOrganizationServiceServer) DescribeMany(context.Context, *DescribeManyRequest) (*DescribeManyResponse, error)
- func (UnimplementedOrganizationServiceServer) Destroy(context.Context, *DestroyRequest) (*empty.Empty, error)
- func (UnimplementedOrganizationServiceServer) FetchOrganizationContacts(context.Context, *FetchOrganizationContactsRequest) (*FetchOrganizationContactsResponse, error)
- func (UnimplementedOrganizationServiceServer) FetchOrganizationSettings(context.Context, *FetchOrganizationSettingsRequest) (*FetchOrganizationSettingsResponse, error)
- func (UnimplementedOrganizationServiceServer) GetQuotas(context.Context, *GetQuotasRequest) (*GetQuotaResponse, error)
- func (UnimplementedOrganizationServiceServer) IsMember(context.Context, *IsMemberRequest) (*IsMemberResponse, error)
- func (UnimplementedOrganizationServiceServer) IsOwner(context.Context, *IsOwnerRequest) (*IsOwnerResponse, error)
- func (UnimplementedOrganizationServiceServer) IsValid(context.Context, *Organization) (*IsValidResponse, error)
- func (UnimplementedOrganizationServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
- func (UnimplementedOrganizationServiceServer) ListSuspensions(context.Context, *ListSuspensionsRequest) (*ListSuspensionsResponse, error)
- func (UnimplementedOrganizationServiceServer) MakeOwner(context.Context, *MakeOwnerRequest) (*empty.Empty, error)
- func (UnimplementedOrganizationServiceServer) Members(context.Context, *MembersRequest) (*MembersResponse, error)
- func (UnimplementedOrganizationServiceServer) ModifyOrganizationContact(context.Context, *ModifyOrganizationContactRequest) (*ModifyOrganizationContactResponse, error)
- func (UnimplementedOrganizationServiceServer) ModifyOrganizationSettings(context.Context, *ModifyOrganizationSettingsRequest) (*ModifyOrganizationSettingsResponse, error)
- func (UnimplementedOrganizationServiceServer) RepositoryIntegrators(context.Context, *RepositoryIntegratorsRequest) (*RepositoryIntegratorsResponse, error)
- func (UnimplementedOrganizationServiceServer) SetOpenSource(context.Context, *SetOpenSourceRequest) (*SetOpenSourceResponse, error)
- func (UnimplementedOrganizationServiceServer) Suspend(context.Context, *SuspendRequest) (*SuspendResponse, error)
- func (UnimplementedOrganizationServiceServer) Unsuspend(context.Context, *UnsuspendRequest) (*UnsuspendResponse, error)
- func (UnimplementedOrganizationServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
- func (UnimplementedOrganizationServiceServer) UpdateQuotas(context.Context, *UpdateQuotasRequest) (*UpdateQuotasResponse, error)
- func (UnimplementedOrganizationServiceServer) Verify(context.Context, *VerifyRequest) (*Organization, error)
- type UnsafeOrganizationServiceServer
- type UnsuspendRequest
- func (*UnsuspendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnsuspendRequest) GetDescription() string
- func (x *UnsuspendRequest) GetOrgId() string
- func (x *UnsuspendRequest) GetOrigin() string
- func (x *UnsuspendRequest) GetReason() Suspension_Reason
- func (*UnsuspendRequest) ProtoMessage()
- func (x *UnsuspendRequest) ProtoReflect() protoreflect.Message
- func (x *UnsuspendRequest) Reset()
- func (x *UnsuspendRequest) String() string
- type UnsuspendResponse
- func (*UnsuspendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UnsuspendResponse) GetStatus() *status.Status
- func (*UnsuspendResponse) ProtoMessage()
- func (x *UnsuspendResponse) ProtoReflect() protoreflect.Message
- func (x *UnsuspendResponse) Reset()
- func (x *UnsuspendResponse) String() string
- type UpdateQuotasRequest
- func (*UpdateQuotasRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQuotasRequest) GetOrgId() string
- func (x *UpdateQuotasRequest) GetQuotas() []*Quota
- func (*UpdateQuotasRequest) ProtoMessage()
- func (x *UpdateQuotasRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateQuotasRequest) Reset()
- func (x *UpdateQuotasRequest) String() string
- type UpdateQuotasResponse
- func (*UpdateQuotasResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQuotasResponse) GetQuotas() []*Quota
- func (*UpdateQuotasResponse) ProtoMessage()
- func (x *UpdateQuotasResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateQuotasResponse) Reset()
- func (x *UpdateQuotasResponse) String() string
- type UpdateRequest
- type UpdateResponse
- func (*UpdateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResponse) GetOrganization() *Organization
- func (x *UpdateResponse) GetStatus() *status.Status
- func (*UpdateResponse) ProtoMessage()
- func (x *UpdateResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateResponse) Reset()
- func (x *UpdateResponse) String() string
- type VerifyRequest
Constants ¶
const ( OrganizationService_Describe_FullMethodName = "/InternalApi.Organization.OrganizationService/Describe" OrganizationService_DescribeMany_FullMethodName = "/InternalApi.Organization.OrganizationService/DescribeMany" OrganizationService_List_FullMethodName = "/InternalApi.Organization.OrganizationService/List" OrganizationService_Create_FullMethodName = "/InternalApi.Organization.OrganizationService/Create" OrganizationService_CreateWithQuotas_FullMethodName = "/InternalApi.Organization.OrganizationService/CreateWithQuotas" OrganizationService_Update_FullMethodName = "/InternalApi.Organization.OrganizationService/Update" OrganizationService_IsValid_FullMethodName = "/InternalApi.Organization.OrganizationService/IsValid" OrganizationService_IsMember_FullMethodName = "/InternalApi.Organization.OrganizationService/IsMember" OrganizationService_IsOwner_FullMethodName = "/InternalApi.Organization.OrganizationService/IsOwner" OrganizationService_MakeOwner_FullMethodName = "/InternalApi.Organization.OrganizationService/MakeOwner" OrganizationService_Members_FullMethodName = "/InternalApi.Organization.OrganizationService/Members" OrganizationService_AddMember_FullMethodName = "/InternalApi.Organization.OrganizationService/AddMember" OrganizationService_AddMembers_FullMethodName = "/InternalApi.Organization.OrganizationService/AddMembers" OrganizationService_DeleteMember_FullMethodName = "/InternalApi.Organization.OrganizationService/DeleteMember" OrganizationService_Suspend_FullMethodName = "/InternalApi.Organization.OrganizationService/Suspend" OrganizationService_Unsuspend_FullMethodName = "/InternalApi.Organization.OrganizationService/Unsuspend" OrganizationService_Verify_FullMethodName = "/InternalApi.Organization.OrganizationService/Verify" OrganizationService_SetOpenSource_FullMethodName = "/InternalApi.Organization.OrganizationService/SetOpenSource" OrganizationService_ListSuspensions_FullMethodName = "/InternalApi.Organization.OrganizationService/ListSuspensions" OrganizationService_UpdateQuotas_FullMethodName = "/InternalApi.Organization.OrganizationService/UpdateQuotas" OrganizationService_GetQuotas_FullMethodName = "/InternalApi.Organization.OrganizationService/GetQuotas" OrganizationService_Destroy_FullMethodName = "/InternalApi.Organization.OrganizationService/Destroy" OrganizationService_RepositoryIntegrators_FullMethodName = "/InternalApi.Organization.OrganizationService/RepositoryIntegrators" OrganizationService_FetchOrganizationContacts_FullMethodName = "/InternalApi.Organization.OrganizationService/FetchOrganizationContacts" OrganizationService_ModifyOrganizationContact_FullMethodName = "/InternalApi.Organization.OrganizationService/ModifyOrganizationContact" OrganizationService_FetchOrganizationSettings_FullMethodName = "/InternalApi.Organization.OrganizationService/FetchOrganizationSettings" OrganizationService_ModifyOrganizationSettings_FullMethodName = "/InternalApi.Organization.OrganizationService/ModifyOrganizationSettings" )
Variables ¶
var ( ListRequest_Order_name = map[int32]string{ 0: "BY_NAME_ASC", 1: "BY_CREATION_TIME_ASC", } ListRequest_Order_value = map[string]int32{ "BY_NAME_ASC": 0, "BY_CREATION_TIME_ASC": 1, } )
Enum value maps for ListRequest_Order.
var ( Suspension_Reason_name = map[int32]string{ 0: "INSUFFICIENT_FUNDS", 1: "ACCOUNT_AT_RISK", 2: "VIOLATION_OF_TOS", } Suspension_Reason_value = map[string]int32{ "INSUFFICIENT_FUNDS": 0, "ACCOUNT_AT_RISK": 1, "VIOLATION_OF_TOS": 2, } )
Enum value maps for Suspension_Reason.
var ( Member_Role_name = map[int32]string{ 0: "MEMBER", 1: "OWNER", 2: "ADMIN", } Member_Role_value = map[string]int32{ "MEMBER": 0, "OWNER": 1, "ADMIN": 2, } )
Enum value maps for Member_Role.
var ( Quota_Type_name = map[int32]string{ 0: "MAX_PEOPLE_IN_ORG", 1: "MAX_PARALELLISM_IN_ORG", 7: "MAX_PROJECTS_IN_ORG", 2: "MAX_PARALLEL_E1_STANDARD_2", 3: "MAX_PARALLEL_E1_STANDARD_4", 4: "MAX_PARALLEL_E1_STANDARD_8", 5: "MAX_PARALLEL_A1_STANDARD_4", 6: "MAX_PARALLEL_A1_STANDARD_8", } Quota_Type_value = map[string]int32{ "MAX_PEOPLE_IN_ORG": 0, "MAX_PARALELLISM_IN_ORG": 1, "MAX_PROJECTS_IN_ORG": 7, "MAX_PARALLEL_E1_STANDARD_2": 2, "MAX_PARALLEL_E1_STANDARD_4": 3, "MAX_PARALLEL_E1_STANDARD_8": 4, "MAX_PARALLEL_A1_STANDARD_4": 5, "MAX_PARALLEL_A1_STANDARD_8": 6, } )
Enum value maps for Quota_Type.
var ( OrganizationContact_ContactType_name = map[int32]string{ 0: "CONTACT_TYPE_UNSPECIFIED", 1: "CONTACT_TYPE_MAIN", 2: "CONTACT_TYPE_FINANCES", 3: "CONTACT_TYPE_SECURITY", } OrganizationContact_ContactType_value = map[string]int32{ "CONTACT_TYPE_UNSPECIFIED": 0, "CONTACT_TYPE_MAIN": 1, "CONTACT_TYPE_FINANCES": 2, "CONTACT_TYPE_SECURITY": 3, } )
Enum value maps for OrganizationContact_ContactType.
var File_organization_proto protoreflect.FileDescriptor
var OrganizationService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "InternalApi.Organization.OrganizationService", HandlerType: (*OrganizationServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Describe", Handler: _OrganizationService_Describe_Handler, }, { MethodName: "DescribeMany", Handler: _OrganizationService_DescribeMany_Handler, }, { MethodName: "List", Handler: _OrganizationService_List_Handler, }, { MethodName: "Create", Handler: _OrganizationService_Create_Handler, }, { MethodName: "CreateWithQuotas", Handler: _OrganizationService_CreateWithQuotas_Handler, }, { MethodName: "Update", Handler: _OrganizationService_Update_Handler, }, { MethodName: "IsValid", Handler: _OrganizationService_IsValid_Handler, }, { MethodName: "IsMember", Handler: _OrganizationService_IsMember_Handler, }, { MethodName: "IsOwner", Handler: _OrganizationService_IsOwner_Handler, }, { MethodName: "MakeOwner", Handler: _OrganizationService_MakeOwner_Handler, }, { MethodName: "Members", Handler: _OrganizationService_Members_Handler, }, { MethodName: "AddMember", Handler: _OrganizationService_AddMember_Handler, }, { MethodName: "AddMembers", Handler: _OrganizationService_AddMembers_Handler, }, { MethodName: "DeleteMember", Handler: _OrganizationService_DeleteMember_Handler, }, { MethodName: "Suspend", Handler: _OrganizationService_Suspend_Handler, }, { MethodName: "Unsuspend", Handler: _OrganizationService_Unsuspend_Handler, }, { MethodName: "Verify", Handler: _OrganizationService_Verify_Handler, }, { MethodName: "SetOpenSource", Handler: _OrganizationService_SetOpenSource_Handler, }, { MethodName: "ListSuspensions", Handler: _OrganizationService_ListSuspensions_Handler, }, { MethodName: "UpdateQuotas", Handler: _OrganizationService_UpdateQuotas_Handler, }, { MethodName: "GetQuotas", Handler: _OrganizationService_GetQuotas_Handler, }, { MethodName: "Destroy", Handler: _OrganizationService_Destroy_Handler, }, { MethodName: "RepositoryIntegrators", Handler: _OrganizationService_RepositoryIntegrators_Handler, }, { MethodName: "FetchOrganizationContacts", Handler: _OrganizationService_FetchOrganizationContacts_Handler, }, { MethodName: "ModifyOrganizationContact", Handler: _OrganizationService_ModifyOrganizationContact_Handler, }, { MethodName: "FetchOrganizationSettings", Handler: _OrganizationService_FetchOrganizationSettings_Handler, }, { MethodName: "ModifyOrganizationSettings", Handler: _OrganizationService_ModifyOrganizationSettings_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "organization.proto", }
OrganizationService_ServiceDesc is the grpc.ServiceDesc for OrganizationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrganizationServiceServer ¶
func RegisterOrganizationServiceServer(s grpc.ServiceRegistrar, srv OrganizationServiceServer)
Types ¶
type AddMemberRequest ¶
type AddMemberRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // contains filtered or unexported fields }
AddMember call request
- org_id = [required] Organization to which the member is added UUId - creator_id = [required] The user adding the new member UUID - username = [required] Github username of the member to be added
func (*AddMemberRequest) Descriptor
deprecated
func (*AddMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddMemberRequest.ProtoReflect.Descriptor instead.
func (*AddMemberRequest) GetCreatorId ¶
func (x *AddMemberRequest) GetCreatorId() string
func (*AddMemberRequest) GetOrgId ¶
func (x *AddMemberRequest) GetOrgId() string
func (*AddMemberRequest) GetUsername ¶
func (x *AddMemberRequest) GetUsername() string
func (*AddMemberRequest) ProtoMessage ¶
func (*AddMemberRequest) ProtoMessage()
func (*AddMemberRequest) ProtoReflect ¶
func (x *AddMemberRequest) ProtoReflect() protoreflect.Message
func (*AddMemberRequest) Reset ¶
func (x *AddMemberRequest) Reset()
func (*AddMemberRequest) String ¶
func (x *AddMemberRequest) String() string
type AddMemberResponse ¶
type AddMemberResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Member *Member `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"` // contains filtered or unexported fields }
AddMember call response
Response: - member = [required] The created member.
func (*AddMemberResponse) Descriptor
deprecated
func (*AddMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddMemberResponse.ProtoReflect.Descriptor instead.
func (*AddMemberResponse) GetMember ¶
func (x *AddMemberResponse) GetMember() *Member
func (*AddMemberResponse) GetStatus ¶
func (x *AddMemberResponse) GetStatus() *status.Status
func (*AddMemberResponse) ProtoMessage ¶
func (*AddMemberResponse) ProtoMessage()
func (*AddMemberResponse) ProtoReflect ¶
func (x *AddMemberResponse) ProtoReflect() protoreflect.Message
func (*AddMemberResponse) Reset ¶
func (x *AddMemberResponse) Reset()
func (*AddMemberResponse) String ¶
func (x *AddMemberResponse) String() string
type AddMembersRequest ¶
type AddMembersRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` CreatorId string `protobuf:"bytes,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` MembersData []*AddMembersRequest_MemberData `protobuf:"bytes,3,rep,name=members_data,json=membersData,proto3" json:"members_data,omitempty"` // contains filtered or unexported fields }
AddMembers call request
- org_id = [required] Organization to which the member is added UUId - creator_id = [required] The user adding the new member UUID - members_data = [required] Requests for member registration in an Org
func (*AddMembersRequest) Descriptor
deprecated
func (*AddMembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use AddMembersRequest.ProtoReflect.Descriptor instead.
func (*AddMembersRequest) GetCreatorId ¶
func (x *AddMembersRequest) GetCreatorId() string
func (*AddMembersRequest) GetMembersData ¶
func (x *AddMembersRequest) GetMembersData() []*AddMembersRequest_MemberData
func (*AddMembersRequest) GetOrgId ¶
func (x *AddMembersRequest) GetOrgId() string
func (*AddMembersRequest) ProtoMessage ¶
func (*AddMembersRequest) ProtoMessage()
func (*AddMembersRequest) ProtoReflect ¶
func (x *AddMembersRequest) ProtoReflect() protoreflect.Message
func (*AddMembersRequest) Reset ¶
func (x *AddMembersRequest) Reset()
func (*AddMembersRequest) String ¶
func (x *AddMembersRequest) String() string
type AddMembersRequest_MemberData ¶
type AddMembersRequest_MemberData struct { GithubUsername string `protobuf:"bytes,1,opt,name=github_username,json=githubUsername,proto3" json:"github_username,omitempty"` GithubUid string `protobuf:"bytes,2,opt,name=github_uid,json=githubUid,proto3" json:"github_uid,omitempty"` InviteEmail string `protobuf:"bytes,3,opt,name=invite_email,json=inviteEmail,proto3" json:"invite_email,omitempty"` // contains filtered or unexported fields }
Data based on witch we will add a members
github_username = [required] Github username of a member github_uid = [required] Github uid of a member invite_email = [optional] Email to which we will send an invitation, if present
func (*AddMembersRequest_MemberData) Descriptor
deprecated
func (*AddMembersRequest_MemberData) Descriptor() ([]byte, []int)
Deprecated: Use AddMembersRequest_MemberData.ProtoReflect.Descriptor instead.
func (*AddMembersRequest_MemberData) GetGithubUid ¶
func (x *AddMembersRequest_MemberData) GetGithubUid() string
func (*AddMembersRequest_MemberData) GetGithubUsername ¶
func (x *AddMembersRequest_MemberData) GetGithubUsername() string
func (*AddMembersRequest_MemberData) GetInviteEmail ¶
func (x *AddMembersRequest_MemberData) GetInviteEmail() string
func (*AddMembersRequest_MemberData) ProtoMessage ¶
func (*AddMembersRequest_MemberData) ProtoMessage()
func (*AddMembersRequest_MemberData) ProtoReflect ¶
func (x *AddMembersRequest_MemberData) ProtoReflect() protoreflect.Message
func (*AddMembersRequest_MemberData) Reset ¶
func (x *AddMembersRequest_MemberData) Reset()
func (*AddMembersRequest_MemberData) String ¶
func (x *AddMembersRequest_MemberData) String() string
type AddMembersResponse ¶
type AddMembersResponse struct { Members []*Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"` // contains filtered or unexported fields }
AddMembers call response
Response: - members = [required] The created members.
func (*AddMembersResponse) Descriptor
deprecated
func (*AddMembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use AddMembersResponse.ProtoReflect.Descriptor instead.
func (*AddMembersResponse) GetMembers ¶
func (x *AddMembersResponse) GetMembers() []*Member
func (*AddMembersResponse) ProtoMessage ¶
func (*AddMembersResponse) ProtoMessage()
func (*AddMembersResponse) ProtoReflect ¶
func (x *AddMembersResponse) ProtoReflect() protoreflect.Message
func (*AddMembersResponse) Reset ¶
func (x *AddMembersResponse) Reset()
func (*AddMembersResponse) String ¶
func (x *AddMembersResponse) String() string
type CreateRequest ¶
type CreateRequest struct { CreatorId string `protobuf:"bytes,1,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"` OrganizationName string `protobuf:"bytes,2,opt,name=organization_name,json=organizationName,proto3" json:"organization_name,omitempty"` OrganizationUsername string `protobuf:"bytes,3,opt,name=organization_username,json=organizationUsername,proto3" json:"organization_username,omitempty"` // contains filtered or unexported fields }
Create call request
Request: - creator_id = [required] The ID of the user who wants to create an organization - organization_name = [required] The name of organization to be created - organization_username = [required] The username of organization to be created, representing the org subdomain
func (*CreateRequest) Descriptor
deprecated
func (*CreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateRequest.ProtoReflect.Descriptor instead.
func (*CreateRequest) GetCreatorId ¶
func (x *CreateRequest) GetCreatorId() string
func (*CreateRequest) GetOrganizationName ¶
func (x *CreateRequest) GetOrganizationName() string
func (*CreateRequest) GetOrganizationUsername ¶
func (x *CreateRequest) GetOrganizationUsername() string
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) ProtoReflect ¶
func (x *CreateRequest) ProtoReflect() protoreflect.Message
func (*CreateRequest) Reset ¶
func (x *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (x *CreateRequest) String() string
type CreateResponse ¶
type CreateResponse struct { Status *response_status.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
Create call response
Response: - status = [required] Status of response - organization = [required] The description of organization
func (*CreateResponse) Descriptor
deprecated
func (*CreateResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateResponse.ProtoReflect.Descriptor instead.
func (*CreateResponse) GetOrganization ¶
func (x *CreateResponse) GetOrganization() *Organization
func (*CreateResponse) GetStatus ¶
func (x *CreateResponse) GetStatus() *response_status.ResponseStatus
func (*CreateResponse) ProtoMessage ¶
func (*CreateResponse) ProtoMessage()
func (*CreateResponse) ProtoReflect ¶
func (x *CreateResponse) ProtoReflect() protoreflect.Message
func (*CreateResponse) Reset ¶
func (x *CreateResponse) Reset()
func (*CreateResponse) String ¶
func (x *CreateResponse) String() string
type CreateWithQuotasRequest ¶
type CreateWithQuotasRequest struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` Quotas []*Quota `protobuf:"bytes,2,rep,name=quotas,proto3" json:"quotas,omitempty"` // contains filtered or unexported fields }
CreateWithQuotas call request
func (*CreateWithQuotasRequest) Descriptor
deprecated
func (*CreateWithQuotasRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateWithQuotasRequest.ProtoReflect.Descriptor instead.
func (*CreateWithQuotasRequest) GetOrganization ¶
func (x *CreateWithQuotasRequest) GetOrganization() *Organization
func (*CreateWithQuotasRequest) GetQuotas ¶
func (x *CreateWithQuotasRequest) GetQuotas() []*Quota
func (*CreateWithQuotasRequest) ProtoMessage ¶
func (*CreateWithQuotasRequest) ProtoMessage()
func (*CreateWithQuotasRequest) ProtoReflect ¶
func (x *CreateWithQuotasRequest) ProtoReflect() protoreflect.Message
func (*CreateWithQuotasRequest) Reset ¶
func (x *CreateWithQuotasRequest) Reset()
func (*CreateWithQuotasRequest) String ¶
func (x *CreateWithQuotasRequest) String() string
type CreateWithQuotasResponse ¶
type CreateWithQuotasResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
CreateWithQuotas call response
func (*CreateWithQuotasResponse) Descriptor
deprecated
func (*CreateWithQuotasResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateWithQuotasResponse.ProtoReflect.Descriptor instead.
func (*CreateWithQuotasResponse) GetOrganization ¶
func (x *CreateWithQuotasResponse) GetOrganization() *Organization
func (*CreateWithQuotasResponse) ProtoMessage ¶
func (*CreateWithQuotasResponse) ProtoMessage()
func (*CreateWithQuotasResponse) ProtoReflect ¶
func (x *CreateWithQuotasResponse) ProtoReflect() protoreflect.Message
func (*CreateWithQuotasResponse) Reset ¶
func (x *CreateWithQuotasResponse) Reset()
func (*CreateWithQuotasResponse) String ¶
func (x *CreateWithQuotasResponse) String() string
type DeleteMemberRequest ¶
type DeleteMemberRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` MembershipId string `protobuf:"bytes,3,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"` UserId string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
DeleteMember call request
- org_id = [required] ID of organization from which the member is removed - membership_id = [required if user_id is empty] ID of the membership to be removed - user_id = [required if membership_id is empty] ID of the user to be removed
func (*DeleteMemberRequest) Descriptor
deprecated
func (*DeleteMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberRequest.ProtoReflect.Descriptor instead.
func (*DeleteMemberRequest) GetMembershipId ¶
func (x *DeleteMemberRequest) GetMembershipId() string
func (*DeleteMemberRequest) GetOrgId ¶
func (x *DeleteMemberRequest) GetOrgId() string
func (*DeleteMemberRequest) GetUserId ¶
func (x *DeleteMemberRequest) GetUserId() string
func (*DeleteMemberRequest) ProtoMessage ¶
func (*DeleteMemberRequest) ProtoMessage()
func (*DeleteMemberRequest) ProtoReflect ¶
func (x *DeleteMemberRequest) ProtoReflect() protoreflect.Message
func (*DeleteMemberRequest) Reset ¶
func (x *DeleteMemberRequest) Reset()
func (*DeleteMemberRequest) String ¶
func (x *DeleteMemberRequest) String() string
type DeleteMemberResponse ¶
type DeleteMemberResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
DeleteMemberResponse call response
func (*DeleteMemberResponse) Descriptor
deprecated
func (*DeleteMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteMemberResponse.ProtoReflect.Descriptor instead.
func (*DeleteMemberResponse) GetStatus ¶
func (x *DeleteMemberResponse) GetStatus() *status.Status
func (*DeleteMemberResponse) ProtoMessage ¶
func (*DeleteMemberResponse) ProtoMessage()
func (*DeleteMemberResponse) ProtoReflect ¶
func (x *DeleteMemberResponse) ProtoReflect() protoreflect.Message
func (*DeleteMemberResponse) Reset ¶
func (x *DeleteMemberResponse) Reset()
func (*DeleteMemberResponse) String ¶
func (x *DeleteMemberResponse) String() string
type DescribeManyRequest ¶
type DescribeManyRequest struct { OrgIds []string `protobuf:"bytes,1,rep,name=org_ids,json=orgIds,proto3" json:"org_ids,omitempty"` // contains filtered or unexported fields }
DescribeMany call request
- org_ids = Organization UUIDs.
func (*DescribeManyRequest) Descriptor
deprecated
func (*DescribeManyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeManyRequest.ProtoReflect.Descriptor instead.
func (*DescribeManyRequest) GetOrgIds ¶
func (x *DescribeManyRequest) GetOrgIds() []string
func (*DescribeManyRequest) ProtoMessage ¶
func (*DescribeManyRequest) ProtoMessage()
func (*DescribeManyRequest) ProtoReflect ¶
func (x *DescribeManyRequest) ProtoReflect() protoreflect.Message
func (*DescribeManyRequest) Reset ¶
func (x *DescribeManyRequest) Reset()
func (*DescribeManyRequest) String ¶
func (x *DescribeManyRequest) String() string
type DescribeManyResponse ¶
type DescribeManyResponse struct { Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"` // contains filtered or unexported fields }
DescribeMany call response
Response: - organizations = [required if response status is OK] Information about the organizations.
func (*DescribeManyResponse) Descriptor
deprecated
func (*DescribeManyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeManyResponse.ProtoReflect.Descriptor instead.
func (*DescribeManyResponse) GetOrganizations ¶
func (x *DescribeManyResponse) GetOrganizations() []*Organization
func (*DescribeManyResponse) ProtoMessage ¶
func (*DescribeManyResponse) ProtoMessage()
func (*DescribeManyResponse) ProtoReflect ¶
func (x *DescribeManyResponse) ProtoReflect() protoreflect.Message
func (*DescribeManyResponse) Reset ¶
func (x *DescribeManyResponse) Reset()
func (*DescribeManyResponse) String ¶
func (x *DescribeManyResponse) String() string
type DescribeRequest ¶
type DescribeRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` OrgUsername string `protobuf:"bytes,2,opt,name=org_username,json=orgUsername,proto3" json:"org_username,omitempty"` IncludeQuotas bool `protobuf:"varint,3,opt,name=include_quotas,json=includeQuotas,proto3" json:"include_quotas,omitempty"` // contains filtered or unexported fields }
Describe call request
- org_id = Organization UUID. - org_username = Organization username. - include_quotas = If set to true, quotas are returned in the Organization response.
If org_id is present, it is used for looking up the organization. If org_id is not present, but org_username is present, it is used for looking up the organization.
One of org_id or username is [required] for a valid request.
func (*DescribeRequest) Descriptor
deprecated
func (*DescribeRequest) Descriptor() ([]byte, []int)
Deprecated: Use DescribeRequest.ProtoReflect.Descriptor instead.
func (*DescribeRequest) GetIncludeQuotas ¶
func (x *DescribeRequest) GetIncludeQuotas() bool
func (*DescribeRequest) GetOrgId ¶
func (x *DescribeRequest) GetOrgId() string
func (*DescribeRequest) GetOrgUsername ¶
func (x *DescribeRequest) GetOrgUsername() string
func (*DescribeRequest) ProtoMessage ¶
func (*DescribeRequest) ProtoMessage()
func (*DescribeRequest) ProtoReflect ¶
func (x *DescribeRequest) ProtoReflect() protoreflect.Message
func (*DescribeRequest) Reset ¶
func (x *DescribeRequest) Reset()
func (*DescribeRequest) String ¶
func (x *DescribeRequest) String() string
type DescribeResponse ¶
type DescribeResponse struct { Status *response_status.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
Describe call response
Response: - status = [required] ResponseStatus - organization = [required if response status is OK] Information about the organization.
func (*DescribeResponse) Descriptor
deprecated
func (*DescribeResponse) Descriptor() ([]byte, []int)
Deprecated: Use DescribeResponse.ProtoReflect.Descriptor instead.
func (*DescribeResponse) GetOrganization ¶
func (x *DescribeResponse) GetOrganization() *Organization
func (*DescribeResponse) GetStatus ¶
func (x *DescribeResponse) GetStatus() *response_status.ResponseStatus
func (*DescribeResponse) ProtoMessage ¶
func (*DescribeResponse) ProtoMessage()
func (*DescribeResponse) ProtoReflect ¶
func (x *DescribeResponse) ProtoReflect() protoreflect.Message
func (*DescribeResponse) Reset ¶
func (x *DescribeResponse) Reset()
func (*DescribeResponse) String ¶
func (x *DescribeResponse) String() string
type DestroyRequest ¶
type DestroyRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
Request to destroy the organization.
- org_id = [required] ID of organization
func (*DestroyRequest) Descriptor
deprecated
func (*DestroyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DestroyRequest.ProtoReflect.Descriptor instead.
func (*DestroyRequest) GetOrgId ¶
func (x *DestroyRequest) GetOrgId() string
func (*DestroyRequest) ProtoMessage ¶
func (*DestroyRequest) ProtoMessage()
func (*DestroyRequest) ProtoReflect ¶
func (x *DestroyRequest) ProtoReflect() protoreflect.Message
func (*DestroyRequest) Reset ¶
func (x *DestroyRequest) Reset()
func (*DestroyRequest) String ¶
func (x *DestroyRequest) String() string
type FetchOrganizationContactsRequest ¶
type FetchOrganizationContactsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
- org_id = [required] Id of organization who's contacts should be fetched
func (*FetchOrganizationContactsRequest) Descriptor
deprecated
func (*FetchOrganizationContactsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchOrganizationContactsRequest.ProtoReflect.Descriptor instead.
func (*FetchOrganizationContactsRequest) GetOrgId ¶
func (x *FetchOrganizationContactsRequest) GetOrgId() string
func (*FetchOrganizationContactsRequest) ProtoMessage ¶
func (*FetchOrganizationContactsRequest) ProtoMessage()
func (*FetchOrganizationContactsRequest) ProtoReflect ¶
func (x *FetchOrganizationContactsRequest) ProtoReflect() protoreflect.Message
func (*FetchOrganizationContactsRequest) Reset ¶
func (x *FetchOrganizationContactsRequest) Reset()
func (*FetchOrganizationContactsRequest) String ¶
func (x *FetchOrganizationContactsRequest) String() string
type FetchOrganizationContactsResponse ¶
type FetchOrganizationContactsResponse struct { OrgContacts []*OrganizationContact `protobuf:"bytes,1,rep,name=org_contacts,json=orgContacts,proto3" json:"org_contacts,omitempty"` // contains filtered or unexported fields }
- type = [required] Type of communication for which this contact should be used. - name = [optional] Name of the person behind this contact info. - email = [optional] Contact email - phone = [optional] Contact phone number
func (*FetchOrganizationContactsResponse) Descriptor
deprecated
func (*FetchOrganizationContactsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchOrganizationContactsResponse.ProtoReflect.Descriptor instead.
func (*FetchOrganizationContactsResponse) GetOrgContacts ¶
func (x *FetchOrganizationContactsResponse) GetOrgContacts() []*OrganizationContact
func (*FetchOrganizationContactsResponse) ProtoMessage ¶
func (*FetchOrganizationContactsResponse) ProtoMessage()
func (*FetchOrganizationContactsResponse) ProtoReflect ¶
func (x *FetchOrganizationContactsResponse) ProtoReflect() protoreflect.Message
func (*FetchOrganizationContactsResponse) Reset ¶
func (x *FetchOrganizationContactsResponse) Reset()
func (*FetchOrganizationContactsResponse) String ¶
func (x *FetchOrganizationContactsResponse) String() string
type FetchOrganizationSettingsRequest ¶
type FetchOrganizationSettingsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
- org_id = [required] Id of organization who's settings should be fetched
func (*FetchOrganizationSettingsRequest) Descriptor
deprecated
func (*FetchOrganizationSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use FetchOrganizationSettingsRequest.ProtoReflect.Descriptor instead.
func (*FetchOrganizationSettingsRequest) GetOrgId ¶
func (x *FetchOrganizationSettingsRequest) GetOrgId() string
func (*FetchOrganizationSettingsRequest) ProtoMessage ¶
func (*FetchOrganizationSettingsRequest) ProtoMessage()
func (*FetchOrganizationSettingsRequest) ProtoReflect ¶
func (x *FetchOrganizationSettingsRequest) ProtoReflect() protoreflect.Message
func (*FetchOrganizationSettingsRequest) Reset ¶
func (x *FetchOrganizationSettingsRequest) Reset()
func (*FetchOrganizationSettingsRequest) String ¶
func (x *FetchOrganizationSettingsRequest) String() string
type FetchOrganizationSettingsResponse ¶
type FetchOrganizationSettingsResponse struct { Settings []*OrganizationSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
- settings = [required] List of settings that were fetched from the organization
func (*FetchOrganizationSettingsResponse) Descriptor
deprecated
func (*FetchOrganizationSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use FetchOrganizationSettingsResponse.ProtoReflect.Descriptor instead.
func (*FetchOrganizationSettingsResponse) GetSettings ¶
func (x *FetchOrganizationSettingsResponse) GetSettings() []*OrganizationSetting
func (*FetchOrganizationSettingsResponse) ProtoMessage ¶
func (*FetchOrganizationSettingsResponse) ProtoMessage()
func (*FetchOrganizationSettingsResponse) ProtoReflect ¶
func (x *FetchOrganizationSettingsResponse) ProtoReflect() protoreflect.Message
func (*FetchOrganizationSettingsResponse) Reset ¶
func (x *FetchOrganizationSettingsResponse) Reset()
func (*FetchOrganizationSettingsResponse) String ¶
func (x *FetchOrganizationSettingsResponse) String() string
type GetQuotaResponse ¶
type GetQuotaResponse struct { Quotas []*Quota `protobuf:"bytes,1,rep,name=quotas,proto3" json:"quotas,omitempty"` // contains filtered or unexported fields }
func (*GetQuotaResponse) Descriptor
deprecated
func (*GetQuotaResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotaResponse.ProtoReflect.Descriptor instead.
func (*GetQuotaResponse) GetQuotas ¶
func (x *GetQuotaResponse) GetQuotas() []*Quota
func (*GetQuotaResponse) ProtoMessage ¶
func (*GetQuotaResponse) ProtoMessage()
func (*GetQuotaResponse) ProtoReflect ¶
func (x *GetQuotaResponse) ProtoReflect() protoreflect.Message
func (*GetQuotaResponse) Reset ¶
func (x *GetQuotaResponse) Reset()
func (*GetQuotaResponse) String ¶
func (x *GetQuotaResponse) String() string
type GetQuotasRequest ¶
type GetQuotasRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Types []Quota_Type `protobuf:"varint,2,rep,packed,name=types,proto3,enum=InternalApi.Organization.Quota_Type" json:"types,omitempty"` // contains filtered or unexported fields }
- org_id = [required] Organization ID for which we request the information. - types = [required] List of quota types to get.
If the organization doesn't exists, a GRPC :not_found status is returned.
If the quota wasn't set previously, the default value is returned for the requested quota.
func (*GetQuotasRequest) Descriptor
deprecated
func (*GetQuotasRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetQuotasRequest.ProtoReflect.Descriptor instead.
func (*GetQuotasRequest) GetOrgId ¶
func (x *GetQuotasRequest) GetOrgId() string
func (*GetQuotasRequest) GetTypes ¶
func (x *GetQuotasRequest) GetTypes() []Quota_Type
func (*GetQuotasRequest) ProtoMessage ¶
func (*GetQuotasRequest) ProtoMessage()
func (*GetQuotasRequest) ProtoReflect ¶
func (x *GetQuotasRequest) ProtoReflect() protoreflect.Message
func (*GetQuotasRequest) Reset ¶
func (x *GetQuotasRequest) Reset()
func (*GetQuotasRequest) String ¶
func (x *GetQuotasRequest) String() string
type IsMemberRequest ¶
type IsMemberRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` OrgId string `protobuf:"bytes,3,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` OrgUsername string `protobuf:"bytes,4,opt,name=org_username,json=orgUsername,proto3" json:"org_username,omitempty"` // contains filtered or unexported fields }
IsMember call request
- user_id = [required] User UUID. - org_id = Organization UUID. - org_username = Organization username.
If org_id is present, it is used for looking up the organization. If org_id is not present, but org_username is present, it is used for looking up the organization.
One of org_id or username is [required] for a valid request.
func (*IsMemberRequest) Descriptor
deprecated
func (*IsMemberRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsMemberRequest.ProtoReflect.Descriptor instead.
func (*IsMemberRequest) GetOrgId ¶
func (x *IsMemberRequest) GetOrgId() string
func (*IsMemberRequest) GetOrgUsername ¶
func (x *IsMemberRequest) GetOrgUsername() string
func (*IsMemberRequest) GetUserId ¶
func (x *IsMemberRequest) GetUserId() string
func (*IsMemberRequest) ProtoMessage ¶
func (*IsMemberRequest) ProtoMessage()
func (*IsMemberRequest) ProtoReflect ¶
func (x *IsMemberRequest) ProtoReflect() protoreflect.Message
func (*IsMemberRequest) Reset ¶
func (x *IsMemberRequest) Reset()
func (*IsMemberRequest) String ¶
func (x *IsMemberRequest) String() string
type IsMemberResponse ¶
type IsMemberResponse struct { Status *response_status.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` IsMember bool `protobuf:"varint,2,opt,name=is_member,json=isMember,proto3" json:"is_member,omitempty"` // contains filtered or unexported fields }
IsMember call response
Response: - is_member = [required] True or False.
func (*IsMemberResponse) Descriptor
deprecated
func (*IsMemberResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsMemberResponse.ProtoReflect.Descriptor instead.
func (*IsMemberResponse) GetIsMember ¶
func (x *IsMemberResponse) GetIsMember() bool
func (*IsMemberResponse) GetStatus ¶
func (x *IsMemberResponse) GetStatus() *response_status.ResponseStatus
func (*IsMemberResponse) ProtoMessage ¶
func (*IsMemberResponse) ProtoMessage()
func (*IsMemberResponse) ProtoReflect ¶
func (x *IsMemberResponse) ProtoReflect() protoreflect.Message
func (*IsMemberResponse) Reset ¶
func (x *IsMemberResponse) Reset()
func (*IsMemberResponse) String ¶
func (x *IsMemberResponse) String() string
type IsOwnerRequest ¶
type IsOwnerRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
IsOwner call request
- user_id = User UUID. - org_id = Organization UUID.
func (*IsOwnerRequest) Descriptor
deprecated
func (*IsOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsOwnerRequest.ProtoReflect.Descriptor instead.
func (*IsOwnerRequest) GetOrgId ¶
func (x *IsOwnerRequest) GetOrgId() string
func (*IsOwnerRequest) GetUserId ¶
func (x *IsOwnerRequest) GetUserId() string
func (*IsOwnerRequest) ProtoMessage ¶
func (*IsOwnerRequest) ProtoMessage()
func (*IsOwnerRequest) ProtoReflect ¶
func (x *IsOwnerRequest) ProtoReflect() protoreflect.Message
func (*IsOwnerRequest) Reset ¶
func (x *IsOwnerRequest) Reset()
func (*IsOwnerRequest) String ¶
func (x *IsOwnerRequest) String() string
type IsOwnerResponse ¶
type IsOwnerResponse struct { Status *response_status.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` IsOwner bool `protobuf:"varint,2,opt,name=is_owner,json=isOwner,proto3" json:"is_owner,omitempty"` // contains filtered or unexported fields }
IsOwner call response
Response: - is_owner = [required] True or False.
func (*IsOwnerResponse) Descriptor
deprecated
func (*IsOwnerResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsOwnerResponse.ProtoReflect.Descriptor instead.
func (*IsOwnerResponse) GetIsOwner ¶
func (x *IsOwnerResponse) GetIsOwner() bool
func (*IsOwnerResponse) GetStatus ¶
func (x *IsOwnerResponse) GetStatus() *response_status.ResponseStatus
func (*IsOwnerResponse) ProtoMessage ¶
func (*IsOwnerResponse) ProtoMessage()
func (*IsOwnerResponse) ProtoReflect ¶
func (x *IsOwnerResponse) ProtoReflect() protoreflect.Message
func (*IsOwnerResponse) Reset ¶
func (x *IsOwnerResponse) Reset()
func (*IsOwnerResponse) String ¶
func (x *IsOwnerResponse) String() string
type IsValidResponse ¶
type IsValidResponse struct { IsValid bool `protobuf:"varint,1,opt,name=is_valid,json=isValid,proto3" json:"is_valid,omitempty"` Errors string `protobuf:"bytes,2,opt,name=errors,proto3" json:"errors,omitempty"` // contains filtered or unexported fields }
func (*IsValidResponse) Descriptor
deprecated
func (*IsValidResponse) Descriptor() ([]byte, []int)
Deprecated: Use IsValidResponse.ProtoReflect.Descriptor instead.
func (*IsValidResponse) GetErrors ¶
func (x *IsValidResponse) GetErrors() string
func (*IsValidResponse) GetIsValid ¶
func (x *IsValidResponse) GetIsValid() bool
func (*IsValidResponse) ProtoMessage ¶
func (*IsValidResponse) ProtoMessage()
func (*IsValidResponse) ProtoReflect ¶
func (x *IsValidResponse) ProtoReflect() protoreflect.Message
func (*IsValidResponse) Reset ¶
func (x *IsValidResponse) Reset()
func (*IsValidResponse) String ¶
func (x *IsValidResponse) String() string
type ListRequest ¶
type ListRequest struct { UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` CreatedAtGt *timestamp.Timestamp `protobuf:"bytes,3,opt,name=created_at_gt,json=createdAtGt,proto3" json:"created_at_gt,omitempty"` Order ListRequest_Order `protobuf:"varint,4,opt,name=order,proto3,enum=InternalApi.Organization.ListRequest_Order" json:"order,omitempty"` PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
List call request
- user_id = [optional] If present, the response will include orgs the user belongs to. - created_at_gt = [optional] If present, the response will include orgs created at after the timestamp - order = [required] Sorting order direction - page_size = [required] Number of orgs in one response - page_token = [required] Token for the page
func (*ListRequest) Descriptor
deprecated
func (*ListRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.
func (*ListRequest) GetCreatedAtGt ¶
func (x *ListRequest) GetCreatedAtGt() *timestamp.Timestamp
func (*ListRequest) GetOrder ¶
func (x *ListRequest) GetOrder() ListRequest_Order
func (*ListRequest) GetPageSize ¶
func (x *ListRequest) GetPageSize() int32
func (*ListRequest) GetPageToken ¶
func (x *ListRequest) GetPageToken() string
func (*ListRequest) GetUserId ¶
func (x *ListRequest) GetUserId() string
func (*ListRequest) ProtoMessage ¶
func (*ListRequest) ProtoMessage()
func (*ListRequest) ProtoReflect ¶
func (x *ListRequest) ProtoReflect() protoreflect.Message
func (*ListRequest) Reset ¶
func (x *ListRequest) Reset()
func (*ListRequest) String ¶
func (x *ListRequest) String() string
type ListRequest_Order ¶
type ListRequest_Order int32
const ( ListRequest_BY_NAME_ASC ListRequest_Order = 0 ListRequest_BY_CREATION_TIME_ASC ListRequest_Order = 1 )
func (ListRequest_Order) Descriptor ¶
func (ListRequest_Order) Descriptor() protoreflect.EnumDescriptor
func (ListRequest_Order) Enum ¶
func (x ListRequest_Order) Enum() *ListRequest_Order
func (ListRequest_Order) EnumDescriptor
deprecated
func (ListRequest_Order) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListRequest_Order.Descriptor instead.
func (ListRequest_Order) Number ¶
func (x ListRequest_Order) Number() protoreflect.EnumNumber
func (ListRequest_Order) String ¶
func (x ListRequest_Order) String() string
func (ListRequest_Order) Type ¶
func (ListRequest_Order) Type() protoreflect.EnumType
type ListResponse ¶
type ListResponse struct { Status *response_status.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Organizations []*Organization `protobuf:"bytes,2,rep,name=organizations,proto3" json:"organizations,omitempty"` NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
List call response
Response: - organizations = [required] Organizations belonging to the user. - next_page_token = [required] Token for the next page.
func (*ListResponse) Descriptor
deprecated
func (*ListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListResponse.ProtoReflect.Descriptor instead.
func (*ListResponse) GetNextPageToken ¶
func (x *ListResponse) GetNextPageToken() string
func (*ListResponse) GetOrganizations ¶
func (x *ListResponse) GetOrganizations() []*Organization
func (*ListResponse) GetStatus ¶
func (x *ListResponse) GetStatus() *response_status.ResponseStatus
func (*ListResponse) ProtoMessage ¶
func (*ListResponse) ProtoMessage()
func (*ListResponse) ProtoReflect ¶
func (x *ListResponse) ProtoReflect() protoreflect.Message
func (*ListResponse) Reset ¶
func (x *ListResponse) Reset()
func (*ListResponse) String ¶
func (x *ListResponse) String() string
type ListSuspensionsRequest ¶
type ListSuspensionsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
Lists all suspensions for the organization.
- org_id = [required] ID of organization
If the organization is not suspended the array will be empty.
func (*ListSuspensionsRequest) Descriptor
deprecated
func (*ListSuspensionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSuspensionsRequest.ProtoReflect.Descriptor instead.
func (*ListSuspensionsRequest) GetOrgId ¶
func (x *ListSuspensionsRequest) GetOrgId() string
func (*ListSuspensionsRequest) ProtoMessage ¶
func (*ListSuspensionsRequest) ProtoMessage()
func (*ListSuspensionsRequest) ProtoReflect ¶
func (x *ListSuspensionsRequest) ProtoReflect() protoreflect.Message
func (*ListSuspensionsRequest) Reset ¶
func (x *ListSuspensionsRequest) Reset()
func (*ListSuspensionsRequest) String ¶
func (x *ListSuspensionsRequest) String() string
type ListSuspensionsResponse ¶
type ListSuspensionsResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Suspensions []*Suspension `protobuf:"bytes,2,rep,name=suspensions,proto3" json:"suspensions,omitempty"` // contains filtered or unexported fields }
status = [required] Ok if Org exists. suspensions = [required] List of suspensions, empty if org is not suspended.
func (*ListSuspensionsResponse) Descriptor
deprecated
func (*ListSuspensionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSuspensionsResponse.ProtoReflect.Descriptor instead.
func (*ListSuspensionsResponse) GetStatus ¶
func (x *ListSuspensionsResponse) GetStatus() *status.Status
func (*ListSuspensionsResponse) GetSuspensions ¶
func (x *ListSuspensionsResponse) GetSuspensions() []*Suspension
func (*ListSuspensionsResponse) ProtoMessage ¶
func (*ListSuspensionsResponse) ProtoMessage()
func (*ListSuspensionsResponse) ProtoReflect ¶
func (x *ListSuspensionsResponse) ProtoReflect() protoreflect.Message
func (*ListSuspensionsResponse) Reset ¶
func (x *ListSuspensionsResponse) Reset()
func (*ListSuspensionsResponse) String ¶
func (x *ListSuspensionsResponse) String() string
type MakeOwnerRequest ¶
type MakeOwnerRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` OwnerId string `protobuf:"bytes,2,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` // contains filtered or unexported fields }
MakeOwner call request
- org_id = [required] Organization for which we are changing owner - owner_id = [required] UUID of new owner
func (*MakeOwnerRequest) Descriptor
deprecated
func (*MakeOwnerRequest) Descriptor() ([]byte, []int)
Deprecated: Use MakeOwnerRequest.ProtoReflect.Descriptor instead.
func (*MakeOwnerRequest) GetOrgId ¶
func (x *MakeOwnerRequest) GetOrgId() string
func (*MakeOwnerRequest) GetOwnerId ¶
func (x *MakeOwnerRequest) GetOwnerId() string
func (*MakeOwnerRequest) ProtoMessage ¶
func (*MakeOwnerRequest) ProtoMessage()
func (*MakeOwnerRequest) ProtoReflect ¶
func (x *MakeOwnerRequest) ProtoReflect() protoreflect.Message
func (*MakeOwnerRequest) Reset ¶
func (x *MakeOwnerRequest) Reset()
func (*MakeOwnerRequest) String ¶
func (x *MakeOwnerRequest) String() string
type Member ¶
type Member struct { ScreenName string `protobuf:"bytes,1,opt,name=screen_name,json=screenName,proto3" json:"screen_name,omitempty"` AvatarUrl string `protobuf:"bytes,2,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Role Member_Role `protobuf:"varint,4,opt,name=role,proto3,enum=InternalApi.Organization.Member_Role" json:"role,omitempty"` InvitedAt *timestamp.Timestamp `protobuf:"bytes,5,opt,name=invited_at,json=invitedAt,proto3" json:"invited_at,omitempty"` MembershipId string `protobuf:"bytes,6,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"` GithubUsername string `protobuf:"bytes,7,opt,name=github_username,json=githubUsername,proto3" json:"github_username,omitempty"` GithubUid string `protobuf:"bytes,8,opt,name=github_uid,json=githubUid,proto3" json:"github_uid,omitempty"` // contains filtered or unexported fields }
- screen_name = [required] User's screen name used by user on Semaphore. - avatar_url = [required] URL to user's avatar image. - user_id = [required] User's UUID if he is a member of the org on Semaphore. - role = [required] Member role in the organization - membership_id = [required] ID of the membership record connecting user and org
func (*Member) Descriptor
deprecated
func (*Member) GetAvatarUrl ¶
func (*Member) GetGithubUid ¶
func (*Member) GetGithubUsername ¶
func (*Member) GetInvitedAt ¶
func (*Member) GetMembershipId ¶
func (*Member) GetRole ¶
func (x *Member) GetRole() Member_Role
func (*Member) GetScreenName ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (*Member) ProtoReflect ¶
func (x *Member) ProtoReflect() protoreflect.Message
type Member_Role ¶
type Member_Role int32
const ( Member_MEMBER Member_Role = 0 Member_OWNER Member_Role = 1 Member_ADMIN Member_Role = 2 )
func (Member_Role) Descriptor ¶
func (Member_Role) Descriptor() protoreflect.EnumDescriptor
func (Member_Role) Enum ¶
func (x Member_Role) Enum() *Member_Role
func (Member_Role) EnumDescriptor
deprecated
func (Member_Role) EnumDescriptor() ([]byte, []int)
Deprecated: Use Member_Role.Descriptor instead.
func (Member_Role) Number ¶
func (x Member_Role) Number() protoreflect.EnumNumber
func (Member_Role) String ¶
func (x Member_Role) String() string
func (Member_Role) Type ¶
func (Member_Role) Type() protoreflect.EnumType
type MembersRequest ¶
type MembersRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` OrgUsername string `protobuf:"bytes,2,opt,name=org_username,json=orgUsername,proto3" json:"org_username,omitempty"` OnlyMembers bool `protobuf:"varint,3,opt,name=only_members,json=onlyMembers,proto3" json:"only_members,omitempty"` NameContains string `protobuf:"bytes,4,opt,name=name_contains,json=nameContains,proto3" json:"name_contains,omitempty"` // contains filtered or unexported fields }
Members call request
- org_id = Organization UUID. - org_username = Organization username. - only_members = Skip not_logged_in_members in response. - name_contains = Filter members by display name and github login.
If org_id is present, it is used for looking up the organization. If org_id is not present, but org_username is present, it is used for looking up the organization.
One of org_id or username is [required] for a valid request.
func (*MembersRequest) Descriptor
deprecated
func (*MembersRequest) Descriptor() ([]byte, []int)
Deprecated: Use MembersRequest.ProtoReflect.Descriptor instead.
func (*MembersRequest) GetNameContains ¶
func (x *MembersRequest) GetNameContains() string
func (*MembersRequest) GetOnlyMembers ¶
func (x *MembersRequest) GetOnlyMembers() bool
func (*MembersRequest) GetOrgId ¶
func (x *MembersRequest) GetOrgId() string
func (*MembersRequest) GetOrgUsername ¶
func (x *MembersRequest) GetOrgUsername() string
func (*MembersRequest) ProtoMessage ¶
func (*MembersRequest) ProtoMessage()
func (*MembersRequest) ProtoReflect ¶
func (x *MembersRequest) ProtoReflect() protoreflect.Message
func (*MembersRequest) Reset ¶
func (x *MembersRequest) Reset()
func (*MembersRequest) String ¶
func (x *MembersRequest) String() string
type MembersResponse ¶
type MembersResponse struct { Status *response_status.ResponseStatus `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Members []*Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members,omitempty"` NotLoggedInMembers []*Member `protobuf:"bytes,3,rep,name=not_logged_in_members,json=notLoggedInMembers,proto3" json:"not_logged_in_members,omitempty"` // contains filtered or unexported fields }
Members call response
Response:
- members = [required] Members of the organization who created their account on Semaphore.
- not_logged_in_members = [required] Added members of the organization who haven't created their account on Semaphore. Empty if only_members if true in reuqest.
func (*MembersResponse) Descriptor
deprecated
func (*MembersResponse) Descriptor() ([]byte, []int)
Deprecated: Use MembersResponse.ProtoReflect.Descriptor instead.
func (*MembersResponse) GetMembers ¶
func (x *MembersResponse) GetMembers() []*Member
func (*MembersResponse) GetNotLoggedInMembers ¶
func (x *MembersResponse) GetNotLoggedInMembers() []*Member
func (*MembersResponse) GetStatus ¶
func (x *MembersResponse) GetStatus() *response_status.ResponseStatus
func (*MembersResponse) ProtoMessage ¶
func (*MembersResponse) ProtoMessage()
func (*MembersResponse) ProtoReflect ¶
func (x *MembersResponse) ProtoReflect() protoreflect.Message
func (*MembersResponse) Reset ¶
func (x *MembersResponse) Reset()
func (*MembersResponse) String ¶
func (x *MembersResponse) String() string
type ModifyOrganizationContactRequest ¶
type ModifyOrganizationContactRequest struct { OrgContact *OrganizationContact `protobuf:"bytes,1,opt,name=org_contact,json=orgContact,proto3" json:"org_contact,omitempty"` // contains filtered or unexported fields }
func (*ModifyOrganizationContactRequest) Descriptor
deprecated
func (*ModifyOrganizationContactRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyOrganizationContactRequest.ProtoReflect.Descriptor instead.
func (*ModifyOrganizationContactRequest) GetOrgContact ¶
func (x *ModifyOrganizationContactRequest) GetOrgContact() *OrganizationContact
func (*ModifyOrganizationContactRequest) ProtoMessage ¶
func (*ModifyOrganizationContactRequest) ProtoMessage()
func (*ModifyOrganizationContactRequest) ProtoReflect ¶
func (x *ModifyOrganizationContactRequest) ProtoReflect() protoreflect.Message
func (*ModifyOrganizationContactRequest) Reset ¶
func (x *ModifyOrganizationContactRequest) Reset()
func (*ModifyOrganizationContactRequest) String ¶
func (x *ModifyOrganizationContactRequest) String() string
type ModifyOrganizationContactResponse ¶
type ModifyOrganizationContactResponse struct {
// contains filtered or unexported fields
}
func (*ModifyOrganizationContactResponse) Descriptor
deprecated
func (*ModifyOrganizationContactResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyOrganizationContactResponse.ProtoReflect.Descriptor instead.
func (*ModifyOrganizationContactResponse) ProtoMessage ¶
func (*ModifyOrganizationContactResponse) ProtoMessage()
func (*ModifyOrganizationContactResponse) ProtoReflect ¶
func (x *ModifyOrganizationContactResponse) ProtoReflect() protoreflect.Message
func (*ModifyOrganizationContactResponse) Reset ¶
func (x *ModifyOrganizationContactResponse) Reset()
func (*ModifyOrganizationContactResponse) String ¶
func (x *ModifyOrganizationContactResponse) String() string
type ModifyOrganizationSettingsRequest ¶
type ModifyOrganizationSettingsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Settings []*OrganizationSetting `protobuf:"bytes,2,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
- org_id = [required] Id of organization which settings should be affected - settings = [required] List of settings to be applied to the organization
func (*ModifyOrganizationSettingsRequest) Descriptor
deprecated
func (*ModifyOrganizationSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ModifyOrganizationSettingsRequest.ProtoReflect.Descriptor instead.
func (*ModifyOrganizationSettingsRequest) GetOrgId ¶
func (x *ModifyOrganizationSettingsRequest) GetOrgId() string
func (*ModifyOrganizationSettingsRequest) GetSettings ¶
func (x *ModifyOrganizationSettingsRequest) GetSettings() []*OrganizationSetting
func (*ModifyOrganizationSettingsRequest) ProtoMessage ¶
func (*ModifyOrganizationSettingsRequest) ProtoMessage()
func (*ModifyOrganizationSettingsRequest) ProtoReflect ¶
func (x *ModifyOrganizationSettingsRequest) ProtoReflect() protoreflect.Message
func (*ModifyOrganizationSettingsRequest) Reset ¶
func (x *ModifyOrganizationSettingsRequest) Reset()
func (*ModifyOrganizationSettingsRequest) String ¶
func (x *ModifyOrganizationSettingsRequest) String() string
type ModifyOrganizationSettingsResponse ¶
type ModifyOrganizationSettingsResponse struct { Settings []*OrganizationSetting `protobuf:"bytes,1,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
- settings = [required] List of settings that were applied to the organization
func (*ModifyOrganizationSettingsResponse) Descriptor
deprecated
func (*ModifyOrganizationSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ModifyOrganizationSettingsResponse.ProtoReflect.Descriptor instead.
func (*ModifyOrganizationSettingsResponse) GetSettings ¶
func (x *ModifyOrganizationSettingsResponse) GetSettings() []*OrganizationSetting
func (*ModifyOrganizationSettingsResponse) ProtoMessage ¶
func (*ModifyOrganizationSettingsResponse) ProtoMessage()
func (*ModifyOrganizationSettingsResponse) ProtoReflect ¶
func (x *ModifyOrganizationSettingsResponse) ProtoReflect() protoreflect.Message
func (*ModifyOrganizationSettingsResponse) Reset ¶
func (x *ModifyOrganizationSettingsResponse) Reset()
func (*ModifyOrganizationSettingsResponse) String ¶
func (x *ModifyOrganizationSettingsResponse) String() string
type Organization ¶
type Organization struct { OrgUsername string `protobuf:"bytes,1,opt,name=org_username,json=orgUsername,proto3" json:"org_username,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` AvatarUrl string `protobuf:"bytes,3,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"` OrgId string `protobuf:"bytes,4,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` OwnerId string `protobuf:"bytes,6,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` Suspended bool `protobuf:"varint,7,opt,name=suspended,proto3" json:"suspended,omitempty"` OpenSource bool `protobuf:"varint,9,opt,name=open_source,json=openSource,proto3" json:"open_source,omitempty"` Verified bool `protobuf:"varint,10,opt,name=verified,proto3" json:"verified,omitempty"` Restricted bool `protobuf:"varint,11,opt,name=restricted,proto3" json:"restricted,omitempty"` IpAllowList []string `protobuf:"bytes,12,rep,name=ip_allow_list,json=ipAllowList,proto3" json:"ip_allow_list,omitempty"` AllowedIdProviders []string `protobuf:"bytes,13,rep,name=allowed_id_providers,json=allowedIdProviders,proto3" json:"allowed_id_providers,omitempty"` DenyMemberWorkflows bool `protobuf:"varint,14,opt,name=deny_member_workflows,json=denyMemberWorkflows,proto3" json:"deny_member_workflows,omitempty"` DenyNonMemberWorkflows bool `` /* 133-byte string literal not displayed */ Quotas []*Quota `protobuf:"bytes,8,rep,name=quotas,proto3" json:"quotas,omitempty"` Settings []*OrganizationSetting `protobuf:"bytes,16,rep,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
- org_username = [required] unique name of a organization in system.
- created_at = [required] date of creation a organization.
- avatar_url = [required] url to organization avatar.
- org_id = [required] Organization UUID.
- name = [required] Organization name.
- owner_id = [required] Organization owner id.
- suspended = [required] Returns true if the organization is suspended.
- verified = [required] Returns true if the organization is explicitly verified.
- restricted = [required] Returns true if the organization is restricted.
- open_source = [required] Returns true if organization is allowed only to use open source repositories and public projects
- allowed_id_providers = Returns list of id providers that can be used to access this organization (oka, github, bitbucket...). If the list is empty, that means any id provider can be used
- quotas = [optional] Returned only if explicitely requested in Describe.
func (*Organization) Descriptor
deprecated
func (*Organization) Descriptor() ([]byte, []int)
Deprecated: Use Organization.ProtoReflect.Descriptor instead.
func (*Organization) GetAllowedIdProviders ¶
func (x *Organization) GetAllowedIdProviders() []string
func (*Organization) GetAvatarUrl ¶
func (x *Organization) GetAvatarUrl() string
func (*Organization) GetCreatedAt ¶
func (x *Organization) GetCreatedAt() *timestamp.Timestamp
func (*Organization) GetDenyMemberWorkflows ¶
func (x *Organization) GetDenyMemberWorkflows() bool
func (*Organization) GetDenyNonMemberWorkflows ¶
func (x *Organization) GetDenyNonMemberWorkflows() bool
func (*Organization) GetIpAllowList ¶
func (x *Organization) GetIpAllowList() []string
func (*Organization) GetName ¶
func (x *Organization) GetName() string
func (*Organization) GetOpenSource ¶
func (x *Organization) GetOpenSource() bool
func (*Organization) GetOrgId ¶
func (x *Organization) GetOrgId() string
func (*Organization) GetOrgUsername ¶
func (x *Organization) GetOrgUsername() string
func (*Organization) GetOwnerId ¶
func (x *Organization) GetOwnerId() string
func (*Organization) GetQuotas ¶
func (x *Organization) GetQuotas() []*Quota
func (*Organization) GetRestricted ¶
func (x *Organization) GetRestricted() bool
func (*Organization) GetSettings ¶
func (x *Organization) GetSettings() []*OrganizationSetting
func (*Organization) GetSuspended ¶
func (x *Organization) GetSuspended() bool
func (*Organization) GetVerified ¶
func (x *Organization) GetVerified() bool
func (*Organization) ProtoMessage ¶
func (*Organization) ProtoMessage()
func (*Organization) ProtoReflect ¶
func (x *Organization) ProtoReflect() protoreflect.Message
func (*Organization) Reset ¶
func (x *Organization) Reset()
func (*Organization) String ¶
func (x *Organization) String() string
type OrganizationBlocked ¶
type OrganizationBlocked struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Reason Suspension_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=InternalApi.Organization.Suspension_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'blocked'. All fields are required.
func (*OrganizationBlocked) Descriptor
deprecated
func (*OrganizationBlocked) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationBlocked.ProtoReflect.Descriptor instead.
func (*OrganizationBlocked) GetOrgId ¶
func (x *OrganizationBlocked) GetOrgId() string
func (*OrganizationBlocked) GetReason ¶
func (x *OrganizationBlocked) GetReason() Suspension_Reason
func (*OrganizationBlocked) GetTimestamp ¶
func (x *OrganizationBlocked) GetTimestamp() *timestamp.Timestamp
func (*OrganizationBlocked) ProtoMessage ¶
func (*OrganizationBlocked) ProtoMessage()
func (*OrganizationBlocked) ProtoReflect ¶
func (x *OrganizationBlocked) ProtoReflect() protoreflect.Message
func (*OrganizationBlocked) Reset ¶
func (x *OrganizationBlocked) Reset()
func (*OrganizationBlocked) String ¶
func (x *OrganizationBlocked) String() string
type OrganizationContact ¶
type OrganizationContact struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Type OrganizationContact_ContactType `protobuf:"varint,2,opt,name=type,proto3,enum=InternalApi.Organization.OrganizationContact_ContactType" json:"type,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Email string `protobuf:"bytes,4,opt,name=email,proto3" json:"email,omitempty"` Phone string `protobuf:"bytes,5,opt,name=phone,proto3" json:"phone,omitempty"` // contains filtered or unexported fields }
func (*OrganizationContact) Descriptor
deprecated
func (*OrganizationContact) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationContact.ProtoReflect.Descriptor instead.
func (*OrganizationContact) GetEmail ¶
func (x *OrganizationContact) GetEmail() string
func (*OrganizationContact) GetName ¶
func (x *OrganizationContact) GetName() string
func (*OrganizationContact) GetOrgId ¶
func (x *OrganizationContact) GetOrgId() string
func (*OrganizationContact) GetPhone ¶
func (x *OrganizationContact) GetPhone() string
func (*OrganizationContact) GetType ¶
func (x *OrganizationContact) GetType() OrganizationContact_ContactType
func (*OrganizationContact) ProtoMessage ¶
func (*OrganizationContact) ProtoMessage()
func (*OrganizationContact) ProtoReflect ¶
func (x *OrganizationContact) ProtoReflect() protoreflect.Message
func (*OrganizationContact) Reset ¶
func (x *OrganizationContact) Reset()
func (*OrganizationContact) String ¶
func (x *OrganizationContact) String() string
type OrganizationContact_ContactType ¶
type OrganizationContact_ContactType int32
const ( OrganizationContact_CONTACT_TYPE_UNSPECIFIED OrganizationContact_ContactType = 0 OrganizationContact_CONTACT_TYPE_MAIN OrganizationContact_ContactType = 1 OrganizationContact_CONTACT_TYPE_FINANCES OrganizationContact_ContactType = 2 OrganizationContact_CONTACT_TYPE_SECURITY OrganizationContact_ContactType = 3 )
func (OrganizationContact_ContactType) Descriptor ¶
func (OrganizationContact_ContactType) Descriptor() protoreflect.EnumDescriptor
func (OrganizationContact_ContactType) Enum ¶
func (x OrganizationContact_ContactType) Enum() *OrganizationContact_ContactType
func (OrganizationContact_ContactType) EnumDescriptor
deprecated
func (OrganizationContact_ContactType) EnumDescriptor() ([]byte, []int)
Deprecated: Use OrganizationContact_ContactType.Descriptor instead.
func (OrganizationContact_ContactType) Number ¶
func (x OrganizationContact_ContactType) Number() protoreflect.EnumNumber
func (OrganizationContact_ContactType) String ¶
func (x OrganizationContact_ContactType) String() string
func (OrganizationContact_ContactType) Type ¶
func (OrganizationContact_ContactType) Type() protoreflect.EnumType
type OrganizationCreated ¶
type OrganizationCreated struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'created'. All fields are required.
func (*OrganizationCreated) Descriptor
deprecated
func (*OrganizationCreated) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationCreated.ProtoReflect.Descriptor instead.
func (*OrganizationCreated) GetOrgId ¶
func (x *OrganizationCreated) GetOrgId() string
func (*OrganizationCreated) GetTimestamp ¶
func (x *OrganizationCreated) GetTimestamp() *timestamp.Timestamp
func (*OrganizationCreated) ProtoMessage ¶
func (*OrganizationCreated) ProtoMessage()
func (*OrganizationCreated) ProtoReflect ¶
func (x *OrganizationCreated) ProtoReflect() protoreflect.Message
func (*OrganizationCreated) Reset ¶
func (x *OrganizationCreated) Reset()
func (*OrganizationCreated) String ¶
func (x *OrganizationCreated) String() string
type OrganizationDailyUpdate ¶
type OrganizationDailyUpdate struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` OrgUsername string `protobuf:"bytes,2,opt,name=org_username,json=orgUsername,proto3" json:"org_username,omitempty"` OrgName string `protobuf:"bytes,3,opt,name=org_name,json=orgName,proto3" json:"org_name,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ProjectsCount int32 `protobuf:"varint,5,opt,name=projects_count,json=projectsCount,proto3" json:"projects_count,omitempty"` MemberCount int32 `protobuf:"varint,6,opt,name=member_count,json=memberCount,proto3" json:"member_count,omitempty"` InvitedCount int32 `protobuf:"varint,7,opt,name=invited_count,json=invitedCount,proto3" json:"invited_count,omitempty"` OwnerId string `protobuf:"bytes,8,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"` OwnerEmail string `protobuf:"bytes,9,opt,name=owner_email,json=ownerEmail,proto3" json:"owner_email,omitempty"` OwnerOwnedOrgsCount int32 `protobuf:"varint,10,opt,name=owner_owned_orgs_count,json=ownerOwnedOrgsCount,proto3" json:"owner_owned_orgs_count,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'daily_update'. All fields are required.
func (*OrganizationDailyUpdate) Descriptor
deprecated
func (*OrganizationDailyUpdate) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationDailyUpdate.ProtoReflect.Descriptor instead.
func (*OrganizationDailyUpdate) GetCreatedAt ¶
func (x *OrganizationDailyUpdate) GetCreatedAt() *timestamp.Timestamp
func (*OrganizationDailyUpdate) GetInvitedCount ¶
func (x *OrganizationDailyUpdate) GetInvitedCount() int32
func (*OrganizationDailyUpdate) GetMemberCount ¶
func (x *OrganizationDailyUpdate) GetMemberCount() int32
func (*OrganizationDailyUpdate) GetOrgId ¶
func (x *OrganizationDailyUpdate) GetOrgId() string
func (*OrganizationDailyUpdate) GetOrgName ¶
func (x *OrganizationDailyUpdate) GetOrgName() string
func (*OrganizationDailyUpdate) GetOrgUsername ¶
func (x *OrganizationDailyUpdate) GetOrgUsername() string
func (*OrganizationDailyUpdate) GetOwnerEmail ¶
func (x *OrganizationDailyUpdate) GetOwnerEmail() string
func (*OrganizationDailyUpdate) GetOwnerId ¶
func (x *OrganizationDailyUpdate) GetOwnerId() string
func (*OrganizationDailyUpdate) GetOwnerOwnedOrgsCount ¶
func (x *OrganizationDailyUpdate) GetOwnerOwnedOrgsCount() int32
func (*OrganizationDailyUpdate) GetProjectsCount ¶
func (x *OrganizationDailyUpdate) GetProjectsCount() int32
func (*OrganizationDailyUpdate) GetTimestamp ¶
func (x *OrganizationDailyUpdate) GetTimestamp() *timestamp.Timestamp
func (*OrganizationDailyUpdate) ProtoMessage ¶
func (*OrganizationDailyUpdate) ProtoMessage()
func (*OrganizationDailyUpdate) ProtoReflect ¶
func (x *OrganizationDailyUpdate) ProtoReflect() protoreflect.Message
func (*OrganizationDailyUpdate) Reset ¶
func (x *OrganizationDailyUpdate) Reset()
func (*OrganizationDailyUpdate) String ¶
func (x *OrganizationDailyUpdate) String() string
type OrganizationDeleted ¶
type OrganizationDeleted struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'deleted'. All fields are required.
func (*OrganizationDeleted) Descriptor
deprecated
func (*OrganizationDeleted) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationDeleted.ProtoReflect.Descriptor instead.
func (*OrganizationDeleted) GetOrgId ¶
func (x *OrganizationDeleted) GetOrgId() string
func (*OrganizationDeleted) GetTimestamp ¶
func (x *OrganizationDeleted) GetTimestamp() *timestamp.Timestamp
func (*OrganizationDeleted) ProtoMessage ¶
func (*OrganizationDeleted) ProtoMessage()
func (*OrganizationDeleted) ProtoReflect ¶
func (x *OrganizationDeleted) ProtoReflect() protoreflect.Message
func (*OrganizationDeleted) Reset ¶
func (x *OrganizationDeleted) Reset()
func (*OrganizationDeleted) String ¶
func (x *OrganizationDeleted) String() string
type OrganizationServiceClient ¶
type OrganizationServiceClient interface { // Operation is called to describe an organization. // Operation is synchronous. Describe(ctx context.Context, in *DescribeRequest, opts ...grpc.CallOption) (*DescribeResponse, error) // Operation is called to describe many organizations based on org ids. // Operation is synchronous. DescribeMany(ctx context.Context, in *DescribeManyRequest, opts ...grpc.CallOption) (*DescribeManyResponse, error) // Operation is called to list organizations for user. // Operation is synchronous. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) // DEPRECATED // Operation is called to create organization. // Operation is synchronous. Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*CreateResponse, error) // Operation is called to create organization. // Operation is synchronous. CreateWithQuotas(ctx context.Context, in *CreateWithQuotasRequest, opts ...grpc.CallOption) (*CreateWithQuotasResponse, error) // Operation is called to update organization. // Operation is synchronous. Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*UpdateResponse, error) // Operation is called to check if an organization is valid. // Operation is synchronous. IsValid(ctx context.Context, in *Organization, opts ...grpc.CallOption) (*IsValidResponse, error) // Operation is called to check if user is a member of the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead IsMember(ctx context.Context, in *IsMemberRequest, opts ...grpc.CallOption) (*IsMemberResponse, error) // Operation is called to check if user is an owner of the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead IsOwner(ctx context.Context, in *IsOwnerRequest, opts ...grpc.CallOption) (*IsOwnerResponse, error) // Operation is called to change owner of the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead MakeOwner(ctx context.Context, in *MakeOwnerRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Operation is called to list members of the organziation. // Operation is synchronous. // Deprecated - use Guard/RBAC instead Members(ctx context.Context, in *MembersRequest, opts ...grpc.CallOption) (*MembersResponse, error) // Operation is called to add a github user to the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead AddMember(ctx context.Context, in *AddMemberRequest, opts ...grpc.CallOption) (*AddMemberResponse, error) // Operation is called to add a github users to the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead AddMembers(ctx context.Context, in *AddMembersRequest, opts ...grpc.CallOption) (*AddMembersResponse, error) // Operation is called to remove a member from an organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead DeleteMember(ctx context.Context, in *DeleteMemberRequest, opts ...grpc.CallOption) (*DeleteMemberResponse, error) // Operation is called to suspend processing of jobs belonging to this organization. // Operation is synchronous. Suspend(ctx context.Context, in *SuspendRequest, opts ...grpc.CallOption) (*SuspendResponse, error) // Operation is called to suspend processing of jobs belonging to this organization. // Operation is synchronous. Unsuspend(ctx context.Context, in *UnsuspendRequest, opts ...grpc.CallOption) (*UnsuspendResponse, error) // Operation is called to mark the organization as verified. // Operation is synchronous. Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*Organization, error) // Operation is called to set organization as OpenSource // Operation is synchronous. SetOpenSource(ctx context.Context, in *SetOpenSourceRequest, opts ...grpc.CallOption) (*SetOpenSourceResponse, error) // Operation is called to list organization suspensions. // Operation is synchronous. ListSuspensions(ctx context.Context, in *ListSuspensionsRequest, opts ...grpc.CallOption) (*ListSuspensionsResponse, error) // Operation is called to set new quotas for organization. // Operation is synchronous. // Deprecated - use Features instead UpdateQuotas(ctx context.Context, in *UpdateQuotasRequest, opts ...grpc.CallOption) (*UpdateQuotasResponse, error) // Operation is called to get values of a quotas for an organization. // Operation is synchronous. // Deprecated - use Features instead GetQuotas(ctx context.Context, in *GetQuotasRequest, opts ...grpc.CallOption) (*GetQuotaResponse, error) // Operation is called to destroy an organization. // If it fails, a GRPC error is raised. // Operation is synchronous. Destroy(ctx context.Context, in *DestroyRequest, opts ...grpc.CallOption) (*empty.Empty, error) // Operation is called to get information about available repository integration types. // Operation is synchronous. RepositoryIntegrators(ctx context.Context, in *RepositoryIntegratorsRequest, opts ...grpc.CallOption) (*RepositoryIntegratorsResponse, error) // Operation for fetching contact information regarding an organization. // Operation is synchronous. FetchOrganizationContacts(ctx context.Context, in *FetchOrganizationContactsRequest, opts ...grpc.CallOption) (*FetchOrganizationContactsResponse, error) // Operation for adding/modifying organization contacts // Operation is synchronous. ModifyOrganizationContact(ctx context.Context, in *ModifyOrganizationContactRequest, opts ...grpc.CallOption) (*ModifyOrganizationContactResponse, error) // Operation for fetching organization settings // Operation is synchronous. FetchOrganizationSettings(ctx context.Context, in *FetchOrganizationSettingsRequest, opts ...grpc.CallOption) (*FetchOrganizationSettingsResponse, error) // Operation for adding/modifying organization settings // Operation is synchronous. ModifyOrganizationSettings(ctx context.Context, in *ModifyOrganizationSettingsRequest, opts ...grpc.CallOption) (*ModifyOrganizationSettingsResponse, error) }
OrganizationServiceClient is the client API for OrganizationService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOrganizationServiceClient ¶
func NewOrganizationServiceClient(cc grpc.ClientConnInterface) OrganizationServiceClient
type OrganizationServiceServer ¶
type OrganizationServiceServer interface { // Operation is called to describe an organization. // Operation is synchronous. Describe(context.Context, *DescribeRequest) (*DescribeResponse, error) // Operation is called to describe many organizations based on org ids. // Operation is synchronous. DescribeMany(context.Context, *DescribeManyRequest) (*DescribeManyResponse, error) // Operation is called to list organizations for user. // Operation is synchronous. List(context.Context, *ListRequest) (*ListResponse, error) // DEPRECATED // Operation is called to create organization. // Operation is synchronous. Create(context.Context, *CreateRequest) (*CreateResponse, error) // Operation is called to create organization. // Operation is synchronous. CreateWithQuotas(context.Context, *CreateWithQuotasRequest) (*CreateWithQuotasResponse, error) // Operation is called to update organization. // Operation is synchronous. Update(context.Context, *UpdateRequest) (*UpdateResponse, error) // Operation is called to check if an organization is valid. // Operation is synchronous. IsValid(context.Context, *Organization) (*IsValidResponse, error) // Operation is called to check if user is a member of the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead IsMember(context.Context, *IsMemberRequest) (*IsMemberResponse, error) // Operation is called to check if user is an owner of the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead IsOwner(context.Context, *IsOwnerRequest) (*IsOwnerResponse, error) // Operation is called to change owner of the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead MakeOwner(context.Context, *MakeOwnerRequest) (*empty.Empty, error) // Operation is called to list members of the organziation. // Operation is synchronous. // Deprecated - use Guard/RBAC instead Members(context.Context, *MembersRequest) (*MembersResponse, error) // Operation is called to add a github user to the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead AddMember(context.Context, *AddMemberRequest) (*AddMemberResponse, error) // Operation is called to add a github users to the organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead AddMembers(context.Context, *AddMembersRequest) (*AddMembersResponse, error) // Operation is called to remove a member from an organization. // Operation is synchronous. // Deprecated - use Guard/RBAC instead DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error) // Operation is called to suspend processing of jobs belonging to this organization. // Operation is synchronous. Suspend(context.Context, *SuspendRequest) (*SuspendResponse, error) // Operation is called to suspend processing of jobs belonging to this organization. // Operation is synchronous. Unsuspend(context.Context, *UnsuspendRequest) (*UnsuspendResponse, error) // Operation is called to mark the organization as verified. // Operation is synchronous. Verify(context.Context, *VerifyRequest) (*Organization, error) // Operation is called to set organization as OpenSource // Operation is synchronous. SetOpenSource(context.Context, *SetOpenSourceRequest) (*SetOpenSourceResponse, error) // Operation is called to list organization suspensions. // Operation is synchronous. ListSuspensions(context.Context, *ListSuspensionsRequest) (*ListSuspensionsResponse, error) // Operation is called to set new quotas for organization. // Operation is synchronous. // Deprecated - use Features instead UpdateQuotas(context.Context, *UpdateQuotasRequest) (*UpdateQuotasResponse, error) // Operation is called to get values of a quotas for an organization. // Operation is synchronous. // Deprecated - use Features instead GetQuotas(context.Context, *GetQuotasRequest) (*GetQuotaResponse, error) // Operation is called to destroy an organization. // If it fails, a GRPC error is raised. // Operation is synchronous. Destroy(context.Context, *DestroyRequest) (*empty.Empty, error) // Operation is called to get information about available repository integration types. // Operation is synchronous. RepositoryIntegrators(context.Context, *RepositoryIntegratorsRequest) (*RepositoryIntegratorsResponse, error) // Operation for fetching contact information regarding an organization. // Operation is synchronous. FetchOrganizationContacts(context.Context, *FetchOrganizationContactsRequest) (*FetchOrganizationContactsResponse, error) // Operation for adding/modifying organization contacts // Operation is synchronous. ModifyOrganizationContact(context.Context, *ModifyOrganizationContactRequest) (*ModifyOrganizationContactResponse, error) // Operation for fetching organization settings // Operation is synchronous. FetchOrganizationSettings(context.Context, *FetchOrganizationSettingsRequest) (*FetchOrganizationSettingsResponse, error) // Operation for adding/modifying organization settings // Operation is synchronous. ModifyOrganizationSettings(context.Context, *ModifyOrganizationSettingsRequest) (*ModifyOrganizationSettingsResponse, error) }
OrganizationServiceServer is the server API for OrganizationService service. All implementations should embed UnimplementedOrganizationServiceServer for forward compatibility.
type OrganizationSetting ¶
type OrganizationSetting struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*OrganizationSetting) Descriptor
deprecated
func (*OrganizationSetting) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationSetting.ProtoReflect.Descriptor instead.
func (*OrganizationSetting) GetKey ¶
func (x *OrganizationSetting) GetKey() string
func (*OrganizationSetting) GetValue ¶
func (x *OrganizationSetting) GetValue() string
func (*OrganizationSetting) ProtoMessage ¶
func (*OrganizationSetting) ProtoMessage()
func (*OrganizationSetting) ProtoReflect ¶
func (x *OrganizationSetting) ProtoReflect() protoreflect.Message
func (*OrganizationSetting) Reset ¶
func (x *OrganizationSetting) Reset()
func (*OrganizationSetting) String ¶
func (x *OrganizationSetting) String() string
type OrganizationSuspensionCreated ¶
type OrganizationSuspensionCreated struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Reason Suspension_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=InternalApi.Organization.Suspension_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'suspension_created'. All fields are required. The event is emitted when a suspension for an organization is created, irrespective of the previous suspension status of the organization. If the organization is blocked due to this suspension creation, the OrganizationBlocked event will be emitted as well.
func (*OrganizationSuspensionCreated) Descriptor
deprecated
func (*OrganizationSuspensionCreated) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationSuspensionCreated.ProtoReflect.Descriptor instead.
func (*OrganizationSuspensionCreated) GetOrgId ¶
func (x *OrganizationSuspensionCreated) GetOrgId() string
func (*OrganizationSuspensionCreated) GetReason ¶
func (x *OrganizationSuspensionCreated) GetReason() Suspension_Reason
func (*OrganizationSuspensionCreated) GetTimestamp ¶
func (x *OrganizationSuspensionCreated) GetTimestamp() *timestamp.Timestamp
func (*OrganizationSuspensionCreated) ProtoMessage ¶
func (*OrganizationSuspensionCreated) ProtoMessage()
func (*OrganizationSuspensionCreated) ProtoReflect ¶
func (x *OrganizationSuspensionCreated) ProtoReflect() protoreflect.Message
func (*OrganizationSuspensionCreated) Reset ¶
func (x *OrganizationSuspensionCreated) Reset()
func (*OrganizationSuspensionCreated) String ¶
func (x *OrganizationSuspensionCreated) String() string
type OrganizationSuspensionRemoved ¶
type OrganizationSuspensionRemoved struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Reason Suspension_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=InternalApi.Organization.Suspension_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'suspension_removed'. All fields are required. The event is emitted when a suspension is removed, irrespective of the suspend status of the organization. If an organization is unsuspended completely, the OrganizationUnblocked event will be emitted as well.
func (*OrganizationSuspensionRemoved) Descriptor
deprecated
func (*OrganizationSuspensionRemoved) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationSuspensionRemoved.ProtoReflect.Descriptor instead.
func (*OrganizationSuspensionRemoved) GetOrgId ¶
func (x *OrganizationSuspensionRemoved) GetOrgId() string
func (*OrganizationSuspensionRemoved) GetReason ¶
func (x *OrganizationSuspensionRemoved) GetReason() Suspension_Reason
func (*OrganizationSuspensionRemoved) GetTimestamp ¶
func (x *OrganizationSuspensionRemoved) GetTimestamp() *timestamp.Timestamp
func (*OrganizationSuspensionRemoved) ProtoMessage ¶
func (*OrganizationSuspensionRemoved) ProtoMessage()
func (*OrganizationSuspensionRemoved) ProtoReflect ¶
func (x *OrganizationSuspensionRemoved) ProtoReflect() protoreflect.Message
func (*OrganizationSuspensionRemoved) Reset ¶
func (x *OrganizationSuspensionRemoved) Reset()
func (*OrganizationSuspensionRemoved) String ¶
func (x *OrganizationSuspensionRemoved) String() string
type OrganizationUnblocked ¶
type OrganizationUnblocked struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'unblocked'. All fields are required.
func (*OrganizationUnblocked) Descriptor
deprecated
func (*OrganizationUnblocked) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationUnblocked.ProtoReflect.Descriptor instead.
func (*OrganizationUnblocked) GetOrgId ¶
func (x *OrganizationUnblocked) GetOrgId() string
func (*OrganizationUnblocked) GetTimestamp ¶
func (x *OrganizationUnblocked) GetTimestamp() *timestamp.Timestamp
func (*OrganizationUnblocked) ProtoMessage ¶
func (*OrganizationUnblocked) ProtoMessage()
func (*OrganizationUnblocked) ProtoReflect ¶
func (x *OrganizationUnblocked) ProtoReflect() protoreflect.Message
func (*OrganizationUnblocked) Reset ¶
func (x *OrganizationUnblocked) Reset()
func (*OrganizationUnblocked) String ¶
func (x *OrganizationUnblocked) String() string
type OrganizationUpdated ¶
type OrganizationUpdated struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Timestamp *timestamp.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
Published with routing key: 'updated'. All fields are required.
func (*OrganizationUpdated) Descriptor
deprecated
func (*OrganizationUpdated) Descriptor() ([]byte, []int)
Deprecated: Use OrganizationUpdated.ProtoReflect.Descriptor instead.
func (*OrganizationUpdated) GetOrgId ¶
func (x *OrganizationUpdated) GetOrgId() string
func (*OrganizationUpdated) GetTimestamp ¶
func (x *OrganizationUpdated) GetTimestamp() *timestamp.Timestamp
func (*OrganizationUpdated) ProtoMessage ¶
func (*OrganizationUpdated) ProtoMessage()
func (*OrganizationUpdated) ProtoReflect ¶
func (x *OrganizationUpdated) ProtoReflect() protoreflect.Message
func (*OrganizationUpdated) Reset ¶
func (x *OrganizationUpdated) Reset()
func (*OrganizationUpdated) String ¶
func (x *OrganizationUpdated) String() string
type Quota ¶
type Quota struct { Type Quota_Type `protobuf:"varint,1,opt,name=type,proto3,enum=InternalApi.Organization.Quota_Type" json:"type,omitempty"` Value uint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*Quota) Descriptor
deprecated
func (*Quota) GetType ¶
func (x *Quota) GetType() Quota_Type
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) ProtoReflect ¶
func (x *Quota) ProtoReflect() protoreflect.Message
type Quota_Type ¶
type Quota_Type int32
Types of quotas available for an organization.
For long term maintainability, a closed set of QuotaTypes is better then a free form key-value system.
const ( Quota_MAX_PEOPLE_IN_ORG Quota_Type = 0 Quota_MAX_PARALELLISM_IN_ORG Quota_Type = 1 Quota_MAX_PROJECTS_IN_ORG Quota_Type = 7 Quota_MAX_PARALLEL_E1_STANDARD_2 Quota_Type = 2 Quota_MAX_PARALLEL_E1_STANDARD_4 Quota_Type = 3 Quota_MAX_PARALLEL_E1_STANDARD_8 Quota_Type = 4 Quota_MAX_PARALLEL_A1_STANDARD_4 Quota_Type = 5 Quota_MAX_PARALLEL_A1_STANDARD_8 Quota_Type = 6 )
func (Quota_Type) Descriptor ¶
func (Quota_Type) Descriptor() protoreflect.EnumDescriptor
func (Quota_Type) Enum ¶
func (x Quota_Type) Enum() *Quota_Type
func (Quota_Type) EnumDescriptor
deprecated
func (Quota_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use Quota_Type.Descriptor instead.
func (Quota_Type) Number ¶
func (x Quota_Type) Number() protoreflect.EnumNumber
func (Quota_Type) String ¶
func (x Quota_Type) String() string
func (Quota_Type) Type ¶
func (Quota_Type) Type() protoreflect.EnumType
type RepositoryIntegratorsRequest ¶
type RepositoryIntegratorsRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
- org_id = [required] Organization ID for which we request the information.
func (*RepositoryIntegratorsRequest) Descriptor
deprecated
func (*RepositoryIntegratorsRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryIntegratorsRequest.ProtoReflect.Descriptor instead.
func (*RepositoryIntegratorsRequest) GetOrgId ¶
func (x *RepositoryIntegratorsRequest) GetOrgId() string
func (*RepositoryIntegratorsRequest) ProtoMessage ¶
func (*RepositoryIntegratorsRequest) ProtoMessage()
func (*RepositoryIntegratorsRequest) ProtoReflect ¶
func (x *RepositoryIntegratorsRequest) ProtoReflect() protoreflect.Message
func (*RepositoryIntegratorsRequest) Reset ¶
func (x *RepositoryIntegratorsRequest) Reset()
func (*RepositoryIntegratorsRequest) String ¶
func (x *RepositoryIntegratorsRequest) String() string
type RepositoryIntegratorsResponse ¶
type RepositoryIntegratorsResponse struct { Primary repository_integrator.IntegrationType `protobuf:"varint,1,opt,name=primary,proto3,enum=InternalApi.RepositoryIntegrator.IntegrationType" json:"primary,omitempty"` Enabled []repository_integrator.IntegrationType `` /* 129-byte string literal not displayed */ Available []repository_integrator.IntegrationType `` /* 133-byte string literal not displayed */ // contains filtered or unexported fields }
- primary = [required] Primary integration type for an organization. - enabled = [required] List of enabled integration types. - available = [required] List of available integration types.
func (*RepositoryIntegratorsResponse) Descriptor
deprecated
func (*RepositoryIntegratorsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RepositoryIntegratorsResponse.ProtoReflect.Descriptor instead.
func (*RepositoryIntegratorsResponse) GetAvailable ¶
func (x *RepositoryIntegratorsResponse) GetAvailable() []repository_integrator.IntegrationType
func (*RepositoryIntegratorsResponse) GetEnabled ¶
func (x *RepositoryIntegratorsResponse) GetEnabled() []repository_integrator.IntegrationType
func (*RepositoryIntegratorsResponse) GetPrimary ¶
func (x *RepositoryIntegratorsResponse) GetPrimary() repository_integrator.IntegrationType
func (*RepositoryIntegratorsResponse) ProtoMessage ¶
func (*RepositoryIntegratorsResponse) ProtoMessage()
func (*RepositoryIntegratorsResponse) ProtoReflect ¶
func (x *RepositoryIntegratorsResponse) ProtoReflect() protoreflect.Message
func (*RepositoryIntegratorsResponse) Reset ¶
func (x *RepositoryIntegratorsResponse) Reset()
func (*RepositoryIntegratorsResponse) String ¶
func (x *RepositoryIntegratorsResponse) String() string
type SetOpenSourceRequest ¶
type SetOpenSourceRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
SetOpenSource call request
- org_id = [required] ID of organization
If there org is already open sources, nothing will happen
func (*SetOpenSourceRequest) Descriptor
deprecated
func (*SetOpenSourceRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetOpenSourceRequest.ProtoReflect.Descriptor instead.
func (*SetOpenSourceRequest) GetOrgId ¶
func (x *SetOpenSourceRequest) GetOrgId() string
func (*SetOpenSourceRequest) ProtoMessage ¶
func (*SetOpenSourceRequest) ProtoMessage()
func (*SetOpenSourceRequest) ProtoReflect ¶
func (x *SetOpenSourceRequest) ProtoReflect() protoreflect.Message
func (*SetOpenSourceRequest) Reset ¶
func (x *SetOpenSourceRequest) Reset()
func (*SetOpenSourceRequest) String ¶
func (x *SetOpenSourceRequest) String() string
type SetOpenSourceResponse ¶
type SetOpenSourceResponse struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
SetOpenSource call response
This call should always succeed if the params are correct. If the org was already open sourced, nothing will happen
- organization = [required] The description of organization
func (*SetOpenSourceResponse) Descriptor
deprecated
func (*SetOpenSourceResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetOpenSourceResponse.ProtoReflect.Descriptor instead.
func (*SetOpenSourceResponse) GetOrganization ¶
func (x *SetOpenSourceResponse) GetOrganization() *Organization
func (*SetOpenSourceResponse) ProtoMessage ¶
func (*SetOpenSourceResponse) ProtoMessage()
func (*SetOpenSourceResponse) ProtoReflect ¶
func (x *SetOpenSourceResponse) ProtoReflect() protoreflect.Message
func (*SetOpenSourceResponse) Reset ¶
func (x *SetOpenSourceResponse) Reset()
func (*SetOpenSourceResponse) String ¶
func (x *SetOpenSourceResponse) String() string
type SuspendRequest ¶
type SuspendRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Reason Suspension_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=InternalApi.Organization.Suspension_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
Suspend call request
- org_id = [required] ID of organization
- reason = [required] Reason for suspension.
- origin = [required] String describing the origin of unsuspension. Examples:
- Automatic/BillingService
- Manual/Admin/d7478b75-f925-4977-9005-d370b9032dbb
- Automatic/ThreatDetector
- description = [optional] details about the suspensions
If there is already a suspension with the same reason, the suspension is updated. If there is no suspension with the provided reason, a new suspension is added.
func (*SuspendRequest) Descriptor
deprecated
func (*SuspendRequest) Descriptor() ([]byte, []int)
Deprecated: Use SuspendRequest.ProtoReflect.Descriptor instead.
func (*SuspendRequest) GetDescription ¶
func (x *SuspendRequest) GetDescription() string
func (*SuspendRequest) GetOrgId ¶
func (x *SuspendRequest) GetOrgId() string
func (*SuspendRequest) GetOrigin ¶
func (x *SuspendRequest) GetOrigin() string
func (*SuspendRequest) GetReason ¶
func (x *SuspendRequest) GetReason() Suspension_Reason
func (*SuspendRequest) ProtoMessage ¶
func (*SuspendRequest) ProtoMessage()
func (*SuspendRequest) ProtoReflect ¶
func (x *SuspendRequest) ProtoReflect() protoreflect.Message
func (*SuspendRequest) Reset ¶
func (x *SuspendRequest) Reset()
func (*SuspendRequest) String ¶
func (x *SuspendRequest) String() string
type SuspendResponse ¶
type SuspendResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
SuspendResponse call response
This call should always succeed if the params are correct. If the account was already suspended, the new suspension will overwrite the previous one.
Example:
- Account was suspended for INSUFFICIENT_FUNDS
- Then our system has noticed a VIOLATION_OF_TOS
- When suspended, the new suspension reason is added to the list of reasons.
func (*SuspendResponse) Descriptor
deprecated
func (*SuspendResponse) Descriptor() ([]byte, []int)
Deprecated: Use SuspendResponse.ProtoReflect.Descriptor instead.
func (*SuspendResponse) GetStatus ¶
func (x *SuspendResponse) GetStatus() *status.Status
func (*SuspendResponse) ProtoMessage ¶
func (*SuspendResponse) ProtoMessage()
func (*SuspendResponse) ProtoReflect ¶
func (x *SuspendResponse) ProtoReflect() protoreflect.Message
func (*SuspendResponse) Reset ¶
func (x *SuspendResponse) Reset()
func (*SuspendResponse) String ¶
func (x *SuspendResponse) String() string
type Suspension ¶
type Suspension struct { Origin string `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Reason Suspension_Reason `protobuf:"varint,3,opt,name=reason,proto3,enum=InternalApi.Organization.Suspension_Reason" json:"reason,omitempty"` CreatedAt *timestamp.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
- origin = [required] String describing the origin of suspension.
- description = [optional] Optinal detailed explanation for unsuspension.
- reason = [required] Reason for suspending this organization. Examples:
- Automatic/BillingService
- Manual/Admin/d7478b75-f925-4977-9005-d370b9032dbb
- Automatic/ThreatDetector
- timestamp of the suspension [required]
func (*Suspension) Descriptor
deprecated
func (*Suspension) Descriptor() ([]byte, []int)
Deprecated: Use Suspension.ProtoReflect.Descriptor instead.
func (*Suspension) GetCreatedAt ¶
func (x *Suspension) GetCreatedAt() *timestamp.Timestamp
func (*Suspension) GetDescription ¶
func (x *Suspension) GetDescription() string
func (*Suspension) GetOrigin ¶
func (x *Suspension) GetOrigin() string
func (*Suspension) GetReason ¶
func (x *Suspension) GetReason() Suspension_Reason
func (*Suspension) ProtoMessage ¶
func (*Suspension) ProtoMessage()
func (*Suspension) ProtoReflect ¶
func (x *Suspension) ProtoReflect() protoreflect.Message
func (*Suspension) Reset ¶
func (x *Suspension) Reset()
func (*Suspension) String ¶
func (x *Suspension) String() string
type Suspension_Reason ¶
type Suspension_Reason int32
const ( // This account has no funds to continue paying for the service. // Examples: Credit card expired, empty credit card, etc... Suspension_INSUFFICIENT_FUNDS Suspension_Reason = 0 // If we suspect an account has been hacked or compromised, we may suspend // it until it can be secured and restored to the account owner in order to // reduce potentially malicious activity caused by the compromise. Suspension_ACCOUNT_AT_RISK Suspension_Reason = 1 // If we suspect an account has is violated our terms of service, we are // suspending it. Suspension_VIOLATION_OF_TOS Suspension_Reason = 2 )
func (Suspension_Reason) Descriptor ¶
func (Suspension_Reason) Descriptor() protoreflect.EnumDescriptor
func (Suspension_Reason) Enum ¶
func (x Suspension_Reason) Enum() *Suspension_Reason
func (Suspension_Reason) EnumDescriptor
deprecated
func (Suspension_Reason) EnumDescriptor() ([]byte, []int)
Deprecated: Use Suspension_Reason.Descriptor instead.
func (Suspension_Reason) Number ¶
func (x Suspension_Reason) Number() protoreflect.EnumNumber
func (Suspension_Reason) String ¶
func (x Suspension_Reason) String() string
func (Suspension_Reason) Type ¶
func (Suspension_Reason) Type() protoreflect.EnumType
type UnimplementedOrganizationServiceServer ¶
type UnimplementedOrganizationServiceServer struct{}
UnimplementedOrganizationServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedOrganizationServiceServer) AddMember ¶
func (UnimplementedOrganizationServiceServer) AddMember(context.Context, *AddMemberRequest) (*AddMemberResponse, error)
func (UnimplementedOrganizationServiceServer) AddMembers ¶
func (UnimplementedOrganizationServiceServer) AddMembers(context.Context, *AddMembersRequest) (*AddMembersResponse, error)
func (UnimplementedOrganizationServiceServer) Create ¶
func (UnimplementedOrganizationServiceServer) Create(context.Context, *CreateRequest) (*CreateResponse, error)
func (UnimplementedOrganizationServiceServer) CreateWithQuotas ¶
func (UnimplementedOrganizationServiceServer) CreateWithQuotas(context.Context, *CreateWithQuotasRequest) (*CreateWithQuotasResponse, error)
func (UnimplementedOrganizationServiceServer) DeleteMember ¶
func (UnimplementedOrganizationServiceServer) DeleteMember(context.Context, *DeleteMemberRequest) (*DeleteMemberResponse, error)
func (UnimplementedOrganizationServiceServer) Describe ¶
func (UnimplementedOrganizationServiceServer) Describe(context.Context, *DescribeRequest) (*DescribeResponse, error)
func (UnimplementedOrganizationServiceServer) DescribeMany ¶
func (UnimplementedOrganizationServiceServer) DescribeMany(context.Context, *DescribeManyRequest) (*DescribeManyResponse, error)
func (UnimplementedOrganizationServiceServer) Destroy ¶
func (UnimplementedOrganizationServiceServer) Destroy(context.Context, *DestroyRequest) (*empty.Empty, error)
func (UnimplementedOrganizationServiceServer) FetchOrganizationContacts ¶
func (UnimplementedOrganizationServiceServer) FetchOrganizationContacts(context.Context, *FetchOrganizationContactsRequest) (*FetchOrganizationContactsResponse, error)
func (UnimplementedOrganizationServiceServer) FetchOrganizationSettings ¶
func (UnimplementedOrganizationServiceServer) FetchOrganizationSettings(context.Context, *FetchOrganizationSettingsRequest) (*FetchOrganizationSettingsResponse, error)
func (UnimplementedOrganizationServiceServer) GetQuotas ¶
func (UnimplementedOrganizationServiceServer) GetQuotas(context.Context, *GetQuotasRequest) (*GetQuotaResponse, error)
func (UnimplementedOrganizationServiceServer) IsMember ¶
func (UnimplementedOrganizationServiceServer) IsMember(context.Context, *IsMemberRequest) (*IsMemberResponse, error)
func (UnimplementedOrganizationServiceServer) IsOwner ¶
func (UnimplementedOrganizationServiceServer) IsOwner(context.Context, *IsOwnerRequest) (*IsOwnerResponse, error)
func (UnimplementedOrganizationServiceServer) IsValid ¶
func (UnimplementedOrganizationServiceServer) IsValid(context.Context, *Organization) (*IsValidResponse, error)
func (UnimplementedOrganizationServiceServer) List ¶
func (UnimplementedOrganizationServiceServer) List(context.Context, *ListRequest) (*ListResponse, error)
func (UnimplementedOrganizationServiceServer) ListSuspensions ¶
func (UnimplementedOrganizationServiceServer) ListSuspensions(context.Context, *ListSuspensionsRequest) (*ListSuspensionsResponse, error)
func (UnimplementedOrganizationServiceServer) MakeOwner ¶
func (UnimplementedOrganizationServiceServer) MakeOwner(context.Context, *MakeOwnerRequest) (*empty.Empty, error)
func (UnimplementedOrganizationServiceServer) Members ¶
func (UnimplementedOrganizationServiceServer) Members(context.Context, *MembersRequest) (*MembersResponse, error)
func (UnimplementedOrganizationServiceServer) ModifyOrganizationContact ¶
func (UnimplementedOrganizationServiceServer) ModifyOrganizationContact(context.Context, *ModifyOrganizationContactRequest) (*ModifyOrganizationContactResponse, error)
func (UnimplementedOrganizationServiceServer) ModifyOrganizationSettings ¶
func (UnimplementedOrganizationServiceServer) ModifyOrganizationSettings(context.Context, *ModifyOrganizationSettingsRequest) (*ModifyOrganizationSettingsResponse, error)
func (UnimplementedOrganizationServiceServer) RepositoryIntegrators ¶
func (UnimplementedOrganizationServiceServer) RepositoryIntegrators(context.Context, *RepositoryIntegratorsRequest) (*RepositoryIntegratorsResponse, error)
func (UnimplementedOrganizationServiceServer) SetOpenSource ¶
func (UnimplementedOrganizationServiceServer) SetOpenSource(context.Context, *SetOpenSourceRequest) (*SetOpenSourceResponse, error)
func (UnimplementedOrganizationServiceServer) Suspend ¶
func (UnimplementedOrganizationServiceServer) Suspend(context.Context, *SuspendRequest) (*SuspendResponse, error)
func (UnimplementedOrganizationServiceServer) Unsuspend ¶
func (UnimplementedOrganizationServiceServer) Unsuspend(context.Context, *UnsuspendRequest) (*UnsuspendResponse, error)
func (UnimplementedOrganizationServiceServer) Update ¶
func (UnimplementedOrganizationServiceServer) Update(context.Context, *UpdateRequest) (*UpdateResponse, error)
func (UnimplementedOrganizationServiceServer) UpdateQuotas ¶
func (UnimplementedOrganizationServiceServer) UpdateQuotas(context.Context, *UpdateQuotasRequest) (*UpdateQuotasResponse, error)
func (UnimplementedOrganizationServiceServer) Verify ¶
func (UnimplementedOrganizationServiceServer) Verify(context.Context, *VerifyRequest) (*Organization, error)
type UnsafeOrganizationServiceServer ¶
type UnsafeOrganizationServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrganizationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrganizationServiceServer will result in compilation errors.
type UnsuspendRequest ¶
type UnsuspendRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Origin string `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Reason Suspension_Reason `protobuf:"varint,4,opt,name=reason,proto3,enum=InternalApi.Organization.Suspension_Reason" json:"reason,omitempty"` // contains filtered or unexported fields }
Unsuspend call request
- org_id = [required] ID of organization
- description = [optional] Optinal detailed explanation for unsuspension.
- origin = [required] String describing the origin of unsuspension. Examples:
- Automatic/BillingService
- Manual/Admin/d7478b75-f925-4977-9005-d370b9032dbb
- Automatic/ThreatDetector
- reason = [required] Specifies which suspension reason needs to be removed.
Example: Org is suspended with (VIOLATION_OF_TOS, INSUFFICIENT_FUNDS) calling Org.Unsuspend(from_suspension_reason: INSUFFICIENT_FUNDS) returns an OK and changes the reasons to (VIOLATION_OF_TOS)
If the organization is not suspended with the provided reason, no action is executed and OK is returned.
func (*UnsuspendRequest) Descriptor
deprecated
func (*UnsuspendRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnsuspendRequest.ProtoReflect.Descriptor instead.
func (*UnsuspendRequest) GetDescription ¶
func (x *UnsuspendRequest) GetDescription() string
func (*UnsuspendRequest) GetOrgId ¶
func (x *UnsuspendRequest) GetOrgId() string
func (*UnsuspendRequest) GetOrigin ¶
func (x *UnsuspendRequest) GetOrigin() string
func (*UnsuspendRequest) GetReason ¶
func (x *UnsuspendRequest) GetReason() Suspension_Reason
func (*UnsuspendRequest) ProtoMessage ¶
func (*UnsuspendRequest) ProtoMessage()
func (*UnsuspendRequest) ProtoReflect ¶
func (x *UnsuspendRequest) ProtoReflect() protoreflect.Message
func (*UnsuspendRequest) Reset ¶
func (x *UnsuspendRequest) Reset()
func (*UnsuspendRequest) String ¶
func (x *UnsuspendRequest) String() string
type UnsuspendResponse ¶
type UnsuspendResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` // contains filtered or unexported fields }
UnsuspendResponse call response
If account is suspended with the reason => unsuspends it and returns OK If account is not suspended with the reason => returns OK and does nothing
func (*UnsuspendResponse) Descriptor
deprecated
func (*UnsuspendResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnsuspendResponse.ProtoReflect.Descriptor instead.
func (*UnsuspendResponse) GetStatus ¶
func (x *UnsuspendResponse) GetStatus() *status.Status
func (*UnsuspendResponse) ProtoMessage ¶
func (*UnsuspendResponse) ProtoMessage()
func (*UnsuspendResponse) ProtoReflect ¶
func (x *UnsuspendResponse) ProtoReflect() protoreflect.Message
func (*UnsuspendResponse) Reset ¶
func (x *UnsuspendResponse) Reset()
func (*UnsuspendResponse) String ¶
func (x *UnsuspendResponse) String() string
type UpdateQuotasRequest ¶
type UpdateQuotasRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` Quotas []*Quota `protobuf:"bytes,2,rep,name=quotas,proto3" json:"quotas,omitempty"` // contains filtered or unexported fields }
- org_id = [required] Organization ID for which we request the change. - quotas = [required] List of quotas we want to update.
If the organization doesn't exists, a GRPC :not_found status is returned.
func (*UpdateQuotasRequest) Descriptor
deprecated
func (*UpdateQuotasRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuotasRequest.ProtoReflect.Descriptor instead.
func (*UpdateQuotasRequest) GetOrgId ¶
func (x *UpdateQuotasRequest) GetOrgId() string
func (*UpdateQuotasRequest) GetQuotas ¶
func (x *UpdateQuotasRequest) GetQuotas() []*Quota
func (*UpdateQuotasRequest) ProtoMessage ¶
func (*UpdateQuotasRequest) ProtoMessage()
func (*UpdateQuotasRequest) ProtoReflect ¶
func (x *UpdateQuotasRequest) ProtoReflect() protoreflect.Message
func (*UpdateQuotasRequest) Reset ¶
func (x *UpdateQuotasRequest) Reset()
func (*UpdateQuotasRequest) String ¶
func (x *UpdateQuotasRequest) String() string
type UpdateQuotasResponse ¶
type UpdateQuotasResponse struct { Quotas []*Quota `protobuf:"bytes,1,rep,name=quotas,proto3" json:"quotas,omitempty"` // contains filtered or unexported fields }
func (*UpdateQuotasResponse) Descriptor
deprecated
func (*UpdateQuotasResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQuotasResponse.ProtoReflect.Descriptor instead.
func (*UpdateQuotasResponse) GetQuotas ¶
func (x *UpdateQuotasResponse) GetQuotas() []*Quota
func (*UpdateQuotasResponse) ProtoMessage ¶
func (*UpdateQuotasResponse) ProtoMessage()
func (*UpdateQuotasResponse) ProtoReflect ¶
func (x *UpdateQuotasResponse) ProtoReflect() protoreflect.Message
func (*UpdateQuotasResponse) Reset ¶
func (x *UpdateQuotasResponse) Reset()
func (*UpdateQuotasResponse) String ¶
func (x *UpdateQuotasResponse) String() string
type UpdateRequest ¶
type UpdateRequest struct { Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
Update call request
Request: - organization = [required] The org to be updated. The ID identifies the org, while other fileds are to be changed.
func (*UpdateRequest) Descriptor
deprecated
func (*UpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateRequest.ProtoReflect.Descriptor instead.
func (*UpdateRequest) GetOrganization ¶
func (x *UpdateRequest) GetOrganization() *Organization
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) ProtoReflect ¶
func (x *UpdateRequest) ProtoReflect() protoreflect.Message
func (*UpdateRequest) Reset ¶
func (x *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (x *UpdateRequest) String() string
type UpdateResponse ¶
type UpdateResponse struct { Status *status.Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Organization *Organization `protobuf:"bytes,2,opt,name=organization,proto3" json:"organization,omitempty"` // contains filtered or unexported fields }
Update call response
Response: - status = [required] Status of response - organization = [required] The description of updated organization
func (*UpdateResponse) Descriptor
deprecated
func (*UpdateResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResponse.ProtoReflect.Descriptor instead.
func (*UpdateResponse) GetOrganization ¶
func (x *UpdateResponse) GetOrganization() *Organization
func (*UpdateResponse) GetStatus ¶
func (x *UpdateResponse) GetStatus() *status.Status
func (*UpdateResponse) ProtoMessage ¶
func (*UpdateResponse) ProtoMessage()
func (*UpdateResponse) ProtoReflect ¶
func (x *UpdateResponse) ProtoReflect() protoreflect.Message
func (*UpdateResponse) Reset ¶
func (x *UpdateResponse) Reset()
func (*UpdateResponse) String ¶
func (x *UpdateResponse) String() string
type VerifyRequest ¶
type VerifyRequest struct { OrgId string `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"` // contains filtered or unexported fields }
func (*VerifyRequest) Descriptor
deprecated
func (*VerifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequest) GetOrgId ¶
func (x *VerifyRequest) GetOrgId() string
func (*VerifyRequest) ProtoMessage ¶
func (*VerifyRequest) ProtoMessage()
func (*VerifyRequest) ProtoReflect ¶
func (x *VerifyRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequest) Reset ¶
func (x *VerifyRequest) Reset()
func (*VerifyRequest) String ¶
func (x *VerifyRequest) String() string