MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / NewMembershipList

Function NewMembershipList

app/cli/pkg/action/membership_list.go:70–72  ·  view source on GitHub ↗
(cfg *ActionsOpts)

Source from the content-addressed store, hash-verified

68}
69
70func NewMembershipList(cfg *ActionsOpts) *MembershipList {
71 return &MembershipList{cfg}
72}
73
74// List organizations for the current user
75func (action *MembershipList) ListOrgs(ctx context.Context) ([]*MembershipItem, error) {

Callers 4

newOrganizationListFunction · 0.92
membershipFromOrgFunction · 0.92
loadMembershipCurrentOrgFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected