id int32 0 167k | repo stringlengths 5 54 | path stringlengths 4 155 | func_name stringlengths 1 118 | original_string stringlengths 52 85.5k | language stringclasses 1
value | code stringlengths 52 85.5k | code_tokens listlengths 21 1.41k | docstring stringlengths 6 2.61k | docstring_tokens listlengths 3 215 | sha stringlengths 40 40 | url stringlengths 85 252 |
|---|---|---|---|---|---|---|---|---|---|---|---|
20,000 | heroku/heroku-go | v3/heroku.go | OrganizationInfo | func (s *Service) OrganizationInfo(ctx context.Context, organizationIdentity string) (*Organization, error) {
var organization Organization
return &organization, s.Get(ctx, &organization, fmt.Sprintf("/organizations/%v", organizationIdentity), nil, nil)
} | go | func (s *Service) OrganizationInfo(ctx context.Context, organizationIdentity string) (*Organization, error) {
var organization Organization
return &organization, s.Get(ctx, &organization, fmt.Sprintf("/organizations/%v", organizationIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
")",
"(",
"*",
"Organization",
",",
"error",
")",
"{",
"var",
"organization",
"Organization",
"\n",
"return",
"&",
"organ... | // Info for an organization. | [
"Info",
"for",
"an",
"organization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2626-L2629 |
20,001 | heroku/heroku-go | v3/heroku.go | OrganizationUpdate | func (s *Service) OrganizationUpdate(ctx context.Context, organizationIdentity string, o OrganizationUpdateOpts) (*Organization, error) {
var organization Organization
return &organization, s.Patch(ctx, &organization, fmt.Sprintf("/organizations/%v", organizationIdentity), o)
} | go | func (s *Service) OrganizationUpdate(ctx context.Context, organizationIdentity string, o OrganizationUpdateOpts) (*Organization, error) {
var organization Organization
return &organization, s.Patch(ctx, &organization, fmt.Sprintf("/organizations/%v", organizationIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationUpdateOpts",
")",
"(",
"*",
"Organization",
",",
"error",
")",
"{",
"var",
"organization",
"Organi... | // Update organization properties. | [
"Update",
"organization",
"properties",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2637-L2640 |
20,002 | heroku/heroku-go | v3/heroku.go | OrganizationDelete | func (s *Service) OrganizationDelete(ctx context.Context, organizationIdentity string) (*Organization, error) {
var organization Organization
return &organization, s.Delete(ctx, &organization, fmt.Sprintf("/organizations/%v", organizationIdentity))
} | go | func (s *Service) OrganizationDelete(ctx context.Context, organizationIdentity string) (*Organization, error) {
var organization Organization
return &organization, s.Delete(ctx, &organization, fmt.Sprintf("/organizations/%v", organizationIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
")",
"(",
"*",
"Organization",
",",
"error",
")",
"{",
"var",
"organization",
"Organization",
"\n",
"return",
"&",
"org... | // Delete an existing organization. | [
"Delete",
"an",
"existing",
"organization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2666-L2669 |
20,003 | heroku/heroku-go | v3/heroku.go | OrganizationAddOnListForOrganization | func (s *Service) OrganizationAddOnListForOrganization(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationAddOnListForOrganizationResult, error) {
var organizationAddOn OrganizationAddOnListForOrganizationResult
return organizationAddOn, s.Get(ctx, &organizationAddOn, fmt.Sprintf("/organiza... | go | func (s *Service) OrganizationAddOnListForOrganization(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationAddOnListForOrganizationResult, error) {
var organizationAddOn OrganizationAddOnListForOrganizationResult
return organizationAddOn, s.Get(ctx, &organizationAddOn, fmt.Sprintf("/organiza... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAddOnListForOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAddOnListForOrganizationResult",
",",
"error",
")",
"{",
... | // List add-ons used across all Organization apps | [
"List",
"add",
"-",
"ons",
"used",
"across",
"all",
"Organization",
"apps"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2708-L2711 |
20,004 | heroku/heroku-go | v3/heroku.go | OrganizationAppCreate | func (s *Service) OrganizationAppCreate(ctx context.Context, o OrganizationAppCreateOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Post(ctx, &organizationApp, fmt.Sprintf("/organizations/apps"), o)
} | go | func (s *Service) OrganizationAppCreate(ctx context.Context, o OrganizationAppCreateOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Post(ctx, &organizationApp, fmt.Sprintf("/organizations/apps"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"OrganizationAppCreateOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
"var",
"organizationApp",
"OrganizationApp",
"\n",
"return",
... | // Create a new app in the specified organization, in the default
// organization if unspecified, or in personal account, if default
// organization is not set. | [
"Create",
"a",
"new",
"app",
"in",
"the",
"specified",
"organization",
"in",
"the",
"default",
"organization",
"if",
"unspecified",
"or",
"in",
"personal",
"account",
"if",
"default",
"organization",
"is",
"not",
"set",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2768-L2771 |
20,005 | heroku/heroku-go | v3/heroku.go | OrganizationAppListForOrganization | func (s *Service) OrganizationAppListForOrganization(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationAppListForOrganizationResult, error) {
var organizationApp OrganizationAppListForOrganizationResult
return organizationApp, s.Get(ctx, &organizationApp, fmt.Sprintf("/organizations/%v/app... | go | func (s *Service) OrganizationAppListForOrganization(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationAppListForOrganizationResult, error) {
var organizationApp OrganizationAppListForOrganizationResult
return organizationApp, s.Get(ctx, &organizationApp, fmt.Sprintf("/organizations/%v/app... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppListForOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAppListForOrganizationResult",
",",
"error",
")",
"{",
"v... | // List organization apps. | [
"List",
"organization",
"apps",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2776-L2779 |
20,006 | heroku/heroku-go | v3/heroku.go | OrganizationAppInfo | func (s *Service) OrganizationAppInfo(ctx context.Context, organizationAppIdentity string) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Get(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organizationAppIdentity), nil, nil)
} | go | func (s *Service) OrganizationAppInfo(ctx context.Context, organizationAppIdentity string) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Get(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organizationAppIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
"var",
"organizationApp",
"OrganizationApp",
"\n",
"return",
... | // Info for an organization app. | [
"Info",
"for",
"an",
"organization",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2782-L2785 |
20,007 | heroku/heroku-go | v3/heroku.go | OrganizationAppUpdateLocked | func (s *Service) OrganizationAppUpdateLocked(ctx context.Context, organizationAppIdentity string, o OrganizationAppUpdateLockedOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Patch(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organizationAppIdentity), ... | go | func (s *Service) OrganizationAppUpdateLocked(ctx context.Context, organizationAppIdentity string, o OrganizationAppUpdateLockedOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Patch(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organizationAppIdentity), ... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppUpdateLocked",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"o",
"OrganizationAppUpdateLockedOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
"var",
"... | // Lock or unlock an organization app. | [
"Lock",
"or",
"unlock",
"an",
"organization",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2792-L2795 |
20,008 | heroku/heroku-go | v3/heroku.go | OrganizationAppTransferToAccount | func (s *Service) OrganizationAppTransferToAccount(ctx context.Context, organizationAppIdentity string, o OrganizationAppTransferToAccountOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Patch(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organizationAppI... | go | func (s *Service) OrganizationAppTransferToAccount(ctx context.Context, organizationAppIdentity string, o OrganizationAppTransferToAccountOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Patch(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organizationAppI... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppTransferToAccount",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"o",
"OrganizationAppTransferToAccountOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
... | // Transfer an existing organization app to another Heroku account. | [
"Transfer",
"an",
"existing",
"organization",
"app",
"to",
"another",
"Heroku",
"account",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2802-L2805 |
20,009 | heroku/heroku-go | v3/heroku.go | OrganizationAppTransferToOrganization | func (s *Service) OrganizationAppTransferToOrganization(ctx context.Context, organizationAppIdentity string, o OrganizationAppTransferToOrganizationOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Patch(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organi... | go | func (s *Service) OrganizationAppTransferToOrganization(ctx context.Context, organizationAppIdentity string, o OrganizationAppTransferToOrganizationOpts) (*OrganizationApp, error) {
var organizationApp OrganizationApp
return &organizationApp, s.Patch(ctx, &organizationApp, fmt.Sprintf("/organizations/apps/%v", organi... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppTransferToOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"o",
"OrganizationAppTransferToOrganizationOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",... | // Transfer an existing organization app to another organization. | [
"Transfer",
"an",
"existing",
"organization",
"app",
"to",
"another",
"organization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2812-L2815 |
20,010 | heroku/heroku-go | v3/heroku.go | OrganizationAppCollaboratorDelete | func (s *Service) OrganizationAppCollaboratorDelete(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Delete(ctx, &organizationAppCo... | go | func (s *Service) OrganizationAppCollaboratorDelete(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Delete(ctx, &organizationAppCo... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"organizationAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"OrganizationAppCollaborator",
",",
"error",... | // Delete an existing collaborator from an organization app. | [
"Delete",
"an",
"existing",
"collaborator",
"from",
"an",
"organization",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2851-L2854 |
20,011 | heroku/heroku-go | v3/heroku.go | OrganizationAppCollaboratorInfo | func (s *Service) OrganizationAppCollaboratorInfo(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Get(ctx, &organizationAppCollabo... | go | func (s *Service) OrganizationAppCollaboratorInfo(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Get(ctx, &organizationAppCollabo... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"organizationAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"OrganizationAppCollaborator",
",",
"error",
... | // Info for a collaborator on an organization app. | [
"Info",
"for",
"a",
"collaborator",
"on",
"an",
"organization",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2857-L2860 |
20,012 | heroku/heroku-go | v3/heroku.go | OrganizationAppCollaboratorUpdate | func (s *Service) OrganizationAppCollaboratorUpdate(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string, o OrganizationAppCollaboratorUpdateOpts) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppColla... | go | func (s *Service) OrganizationAppCollaboratorUpdate(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string, o OrganizationAppCollaboratorUpdateOpts) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppColla... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"organizationAppCollaboratorIdentity",
"string",
",",
"o",
"OrganizationAppCollaboratorUpdateOpts",
")",
"(",
... | // Update an existing collaborator from an organization app. | [
"Update",
"an",
"existing",
"collaborator",
"from",
"an",
"organization",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2867-L2870 |
20,013 | heroku/heroku-go | v3/heroku.go | OrganizationAppCollaboratorList | func (s *Service) OrganizationAppCollaboratorList(ctx context.Context, organizationAppIdentity string, lr *ListRange) (OrganizationAppCollaboratorListResult, error) {
var organizationAppCollaborator OrganizationAppCollaboratorListResult
return organizationAppCollaborator, s.Get(ctx, &organizationAppCollaborator, fmt.... | go | func (s *Service) OrganizationAppCollaboratorList(ctx context.Context, organizationAppIdentity string, lr *ListRange) (OrganizationAppCollaboratorListResult, error) {
var organizationAppCollaborator OrganizationAppCollaboratorListResult
return organizationAppCollaborator, s.Get(ctx, &organizationAppCollaborator, fmt.... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAppCollaboratorListResult",
",",
"error",
")",
"{",
"var"... | // List collaborators on an organization app. | [
"List",
"collaborators",
"on",
"an",
"organization",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2875-L2878 |
20,014 | heroku/heroku-go | v3/heroku.go | OrganizationAppPermissionList | func (s *Service) OrganizationAppPermissionList(ctx context.Context, lr *ListRange) (OrganizationAppPermissionListResult, error) {
var organizationAppPermission OrganizationAppPermissionListResult
return organizationAppPermission, s.Get(ctx, &organizationAppPermission, fmt.Sprintf("/organizations/permissions"), nil, ... | go | func (s *Service) OrganizationAppPermissionList(ctx context.Context, lr *ListRange) (OrganizationAppPermissionListResult, error) {
var organizationAppPermission OrganizationAppPermissionListResult
return organizationAppPermission, s.Get(ctx, &organizationAppPermission, fmt.Sprintf("/organizations/permissions"), nil, ... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppPermissionList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAppPermissionListResult",
",",
"error",
")",
"{",
"var",
"organizationAppPermission",
"OrganizationAppP... | // Lists permissions available to organizations. | [
"Lists",
"permissions",
"available",
"to",
"organizations",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2889-L2892 |
20,015 | heroku/heroku-go | v3/heroku.go | OrganizationFeatureInfo | func (s *Service) OrganizationFeatureInfo(ctx context.Context, organizationIdentity string, organizationFeatureIdentity string) (*OrganizationFeature, error) {
var organizationFeature OrganizationFeature
return &organizationFeature, s.Get(ctx, &organizationFeature, fmt.Sprintf("/organizations/%v/features/%v", organiz... | go | func (s *Service) OrganizationFeatureInfo(ctx context.Context, organizationIdentity string, organizationFeatureIdentity string) (*OrganizationFeature, error) {
var organizationFeature OrganizationFeature
return &organizationFeature, s.Get(ctx, &organizationFeature, fmt.Sprintf("/organizations/%v/features/%v", organiz... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationFeatureInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationFeatureIdentity",
"string",
")",
"(",
"*",
"OrganizationFeature",
",",
"error",
")",
"{",
"var",
"or... | // Info for an existing organization feature. | [
"Info",
"for",
"an",
"existing",
"organization",
"feature",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2910-L2913 |
20,016 | heroku/heroku-go | v3/heroku.go | OrganizationFeatureList | func (s *Service) OrganizationFeatureList(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationFeatureListResult, error) {
var organizationFeature OrganizationFeatureListResult
return organizationFeature, s.Get(ctx, &organizationFeature, fmt.Sprintf("/organizations/%v/features", organizationI... | go | func (s *Service) OrganizationFeatureList(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationFeatureListResult, error) {
var organizationFeature OrganizationFeatureListResult
return organizationFeature, s.Get(ctx, &organizationFeature, fmt.Sprintf("/organizations/%v/features", organizationI... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationFeatureList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationFeatureListResult",
",",
"error",
")",
"{",
"var",
"organizationFe... | // List existing organization features. | [
"List",
"existing",
"organization",
"features",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2918-L2921 |
20,017 | heroku/heroku-go | v3/heroku.go | OrganizationFeatureUpdate | func (s *Service) OrganizationFeatureUpdate(ctx context.Context, organizationIdentity string, organizationFeatureIdentity string, o OrganizationFeatureUpdateOpts) (*OrganizationFeature, error) {
var organizationFeature OrganizationFeature
return &organizationFeature, s.Patch(ctx, &organizationFeature, fmt.Sprintf("/o... | go | func (s *Service) OrganizationFeatureUpdate(ctx context.Context, organizationIdentity string, organizationFeatureIdentity string, o OrganizationFeatureUpdateOpts) (*OrganizationFeature, error) {
var organizationFeature OrganizationFeature
return &organizationFeature, s.Patch(ctx, &organizationFeature, fmt.Sprintf("/o... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationFeatureUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationFeatureIdentity",
"string",
",",
"o",
"OrganizationFeatureUpdateOpts",
")",
"(",
"*",
"OrganizationFeatu... | // Update an existing organization feature. | [
"Update",
"an",
"existing",
"organization",
"feature",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2928-L2931 |
20,018 | heroku/heroku-go | v3/heroku.go | OrganizationInvitationCreate | func (s *Service) OrganizationInvitationCreate(ctx context.Context, organizationIdentity string, o OrganizationInvitationCreateOpts) (*OrganizationInvitation, error) {
var organizationInvitation OrganizationInvitation
return &organizationInvitation, s.Put(ctx, &organizationInvitation, fmt.Sprintf("/organizations/%v/i... | go | func (s *Service) OrganizationInvitationCreate(ctx context.Context, organizationIdentity string, o OrganizationInvitationCreateOpts) (*OrganizationInvitation, error) {
var organizationInvitation OrganizationInvitation
return &organizationInvitation, s.Put(ctx, &organizationInvitation, fmt.Sprintf("/organizations/%v/i... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInvitationCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationInvitationCreateOpts",
")",
"(",
"*",
"OrganizationInvitation",
",",
"error",
")",
"{",
"var... | // Create Organization Invitation | [
"Create",
"Organization",
"Invitation"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2969-L2972 |
20,019 | heroku/heroku-go | v3/heroku.go | OrganizationInvitationRevoke | func (s *Service) OrganizationInvitationRevoke(ctx context.Context, organizationIdentity string, organizationInvitationIdentity string) (*OrganizationInvitation, error) {
var organizationInvitation OrganizationInvitation
return &organizationInvitation, s.Delete(ctx, &organizationInvitation, fmt.Sprintf("/organization... | go | func (s *Service) OrganizationInvitationRevoke(ctx context.Context, organizationIdentity string, organizationInvitationIdentity string) (*OrganizationInvitation, error) {
var organizationInvitation OrganizationInvitation
return &organizationInvitation, s.Delete(ctx, &organizationInvitation, fmt.Sprintf("/organization... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInvitationRevoke",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationInvitationIdentity",
"string",
")",
"(",
"*",
"OrganizationInvitation",
",",
"error",
")",
"{",
"... | // Revoke an organization invitation. | [
"Revoke",
"an",
"organization",
"invitation",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2975-L2978 |
20,020 | heroku/heroku-go | v3/heroku.go | OrganizationInvitationAccept | func (s *Service) OrganizationInvitationAccept(ctx context.Context, organizationInvitationToken string) (*OrganizationInvitationAcceptResult, error) {
var organizationInvitation OrganizationInvitationAcceptResult
return &organizationInvitation, s.Post(ctx, &organizationInvitation, fmt.Sprintf("/organizations/invitati... | go | func (s *Service) OrganizationInvitationAccept(ctx context.Context, organizationInvitationToken string) (*OrganizationInvitationAcceptResult, error) {
var organizationInvitation OrganizationInvitationAcceptResult
return &organizationInvitation, s.Post(ctx, &organizationInvitation, fmt.Sprintf("/organizations/invitati... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInvitationAccept",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationInvitationToken",
"string",
")",
"(",
"*",
"OrganizationInvitationAcceptResult",
",",
"error",
")",
"{",
"var",
"organizationInvitation",
... | // Accept Organization Invitation | [
"Accept",
"Organization",
"Invitation"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3003-L3006 |
20,021 | heroku/heroku-go | v3/heroku.go | OrganizationMemberCreateOrUpdate | func (s *Service) OrganizationMemberCreateOrUpdate(ctx context.Context, organizationIdentity string, o OrganizationMemberCreateOrUpdateOpts) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Put(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", org... | go | func (s *Service) OrganizationMemberCreateOrUpdate(ctx context.Context, organizationIdentity string, o OrganizationMemberCreateOrUpdateOpts) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Put(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", org... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberCreateOrUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationMemberCreateOrUpdateOpts",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
... | // Create a new organization member, or update their role. | [
"Create",
"a",
"new",
"organization",
"member",
"or",
"update",
"their",
"role",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3067-L3070 |
20,022 | heroku/heroku-go | v3/heroku.go | OrganizationMemberCreate | func (s *Service) OrganizationMemberCreate(ctx context.Context, organizationIdentity string, o OrganizationMemberCreateOpts) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Post(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", organizationIdenti... | go | func (s *Service) OrganizationMemberCreate(ctx context.Context, organizationIdentity string, o OrganizationMemberCreateOpts) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Post(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", organizationIdenti... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationMemberCreateOpts",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"organi... | // Create a new organization member. | [
"Create",
"a",
"new",
"organization",
"member",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3079-L3082 |
20,023 | heroku/heroku-go | v3/heroku.go | OrganizationMemberUpdate | func (s *Service) OrganizationMemberUpdate(ctx context.Context, organizationIdentity string, o OrganizationMemberUpdateOpts) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Patch(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", organizationIdent... | go | func (s *Service) OrganizationMemberUpdate(ctx context.Context, organizationIdentity string, o OrganizationMemberUpdateOpts) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Patch(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", organizationIdent... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationMemberUpdateOpts",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"organi... | // Update an organization member. | [
"Update",
"an",
"organization",
"member",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3091-L3094 |
20,024 | heroku/heroku-go | v3/heroku.go | OrganizationMemberDelete | func (s *Service) OrganizationMemberDelete(ctx context.Context, organizationIdentity string, organizationMemberIdentity string) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Delete(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members/%v", organizati... | go | func (s *Service) OrganizationMemberDelete(ctx context.Context, organizationIdentity string, organizationMemberIdentity string) (*OrganizationMember, error) {
var organizationMember OrganizationMember
return &organizationMember, s.Delete(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members/%v", organizati... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationMemberIdentity",
"string",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"org... | // Remove a member from the organization. | [
"Remove",
"a",
"member",
"from",
"the",
"organization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3097-L3100 |
20,025 | heroku/heroku-go | v3/heroku.go | OrganizationMemberList | func (s *Service) OrganizationMemberList(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationMemberListResult, error) {
var organizationMember OrganizationMemberListResult
return organizationMember, s.Get(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", organizationIdentity... | go | func (s *Service) OrganizationMemberList(ctx context.Context, organizationIdentity string, lr *ListRange) (OrganizationMemberListResult, error) {
var organizationMember OrganizationMemberListResult
return organizationMember, s.Get(ctx, &organizationMember, fmt.Sprintf("/organizations/%v/members", organizationIdentity... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationMemberListResult",
",",
"error",
")",
"{",
"var",
"organizationMemb... | // List members of the organization. | [
"List",
"members",
"of",
"the",
"organization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3105-L3108 |
20,026 | heroku/heroku-go | v3/heroku.go | OrganizationMemberAppList | func (s *Service) OrganizationMemberAppList(ctx context.Context, organizationIdentity string, organizationMemberIdentity string, lr *ListRange) (OrganizationMemberAppListResult, error) {
var organizationMember OrganizationMemberAppListResult
return organizationMember, s.Get(ctx, &organizationMember, fmt.Sprintf("/org... | go | func (s *Service) OrganizationMemberAppList(ctx context.Context, organizationIdentity string, organizationMemberIdentity string, lr *ListRange) (OrganizationMemberAppListResult, error) {
var organizationMember OrganizationMemberAppListResult
return organizationMember, s.Get(ctx, &organizationMember, fmt.Sprintf("/org... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberAppList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationMemberIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationMemberAppListResult",
"... | // List the apps of a member. | [
"List",
"the",
"apps",
"of",
"a",
"member",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3151-L3154 |
20,027 | heroku/heroku-go | v3/heroku.go | OrganizationPreferencesList | func (s *Service) OrganizationPreferencesList(ctx context.Context, organizationPreferencesIdentity string) (*OrganizationPreferences, error) {
var organizationPreferences OrganizationPreferences
return &organizationPreferences, s.Get(ctx, &organizationPreferences, fmt.Sprintf("/organizations/%v/preferences", organiza... | go | func (s *Service) OrganizationPreferencesList(ctx context.Context, organizationPreferencesIdentity string) (*OrganizationPreferences, error) {
var organizationPreferences OrganizationPreferences
return &organizationPreferences, s.Get(ctx, &organizationPreferences, fmt.Sprintf("/organizations/%v/preferences", organiza... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationPreferencesList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationPreferencesIdentity",
"string",
")",
"(",
"*",
"OrganizationPreferences",
",",
"error",
")",
"{",
"var",
"organizationPreferences",
"Organi... | // Retrieve Organization Preferences | [
"Retrieve",
"Organization",
"Preferences"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3164-L3167 |
20,028 | heroku/heroku-go | v3/heroku.go | OrganizationPreferencesUpdate | func (s *Service) OrganizationPreferencesUpdate(ctx context.Context, organizationPreferencesIdentity string, o OrganizationPreferencesUpdateOpts) (*OrganizationPreferences, error) {
var organizationPreferences OrganizationPreferences
return &organizationPreferences, s.Patch(ctx, &organizationPreferences, fmt.Sprintf(... | go | func (s *Service) OrganizationPreferencesUpdate(ctx context.Context, organizationPreferencesIdentity string, o OrganizationPreferencesUpdateOpts) (*OrganizationPreferences, error) {
var organizationPreferences OrganizationPreferences
return &organizationPreferences, s.Patch(ctx, &organizationPreferences, fmt.Sprintf(... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationPreferencesUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationPreferencesIdentity",
"string",
",",
"o",
"OrganizationPreferencesUpdateOpts",
")",
"(",
"*",
"OrganizationPreferences",
",",
"error",
")",... | // Update Organization Preferences | [
"Update",
"Organization",
"Preferences"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3174-L3177 |
20,029 | heroku/heroku-go | v3/heroku.go | OutboundRulesetCurrent | func (s *Service) OutboundRulesetCurrent(ctx context.Context, spaceIdentity string) (*OutboundRuleset, error) {
var outboundRuleset OutboundRuleset
return &outboundRuleset, s.Get(ctx, &outboundRuleset, fmt.Sprintf("/spaces/%v/outbound-ruleset", spaceIdentity), nil, nil)
} | go | func (s *Service) OutboundRulesetCurrent(ctx context.Context, spaceIdentity string) (*OutboundRuleset, error) {
var outboundRuleset OutboundRuleset
return &outboundRuleset, s.Get(ctx, &outboundRuleset, fmt.Sprintf("/spaces/%v/outbound-ruleset", spaceIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OutboundRulesetCurrent",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
")",
"(",
"*",
"OutboundRuleset",
",",
"error",
")",
"{",
"var",
"outboundRuleset",
"OutboundRuleset",
"\n",
"return",
"&",
... | // Current outbound ruleset for a space | [
"Current",
"outbound",
"ruleset",
"for",
"a",
"space"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3200-L3203 |
20,030 | heroku/heroku-go | v3/heroku.go | OutboundRulesetList | func (s *Service) OutboundRulesetList(ctx context.Context, spaceIdentity string, lr *ListRange) (OutboundRulesetListResult, error) {
var outboundRuleset OutboundRulesetListResult
return outboundRuleset, s.Get(ctx, &outboundRuleset, fmt.Sprintf("/spaces/%v/outbound-rulesets", spaceIdentity), nil, lr)
} | go | func (s *Service) OutboundRulesetList(ctx context.Context, spaceIdentity string, lr *ListRange) (OutboundRulesetListResult, error) {
var outboundRuleset OutboundRulesetListResult
return outboundRuleset, s.Get(ctx, &outboundRuleset, fmt.Sprintf("/spaces/%v/outbound-rulesets", spaceIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OutboundRulesetList",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OutboundRulesetListResult",
",",
"error",
")",
"{",
"var",
"outboundRuleset",
"Outbound... | // List all Outbound Rulesets for a space | [
"List",
"all",
"Outbound",
"Rulesets",
"for",
"a",
"space"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3214-L3217 |
20,031 | heroku/heroku-go | v3/heroku.go | OutboundRulesetCreate | func (s *Service) OutboundRulesetCreate(ctx context.Context, spaceIdentity string, o OutboundRulesetCreateOpts) (*OutboundRuleset, error) {
var outboundRuleset OutboundRuleset
return &outboundRuleset, s.Put(ctx, &outboundRuleset, fmt.Sprintf("/spaces/%v/outbound-ruleset", spaceIdentity), o)
} | go | func (s *Service) OutboundRulesetCreate(ctx context.Context, spaceIdentity string, o OutboundRulesetCreateOpts) (*OutboundRuleset, error) {
var outboundRuleset OutboundRuleset
return &outboundRuleset, s.Put(ctx, &outboundRuleset, fmt.Sprintf("/spaces/%v/outbound-ruleset", spaceIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OutboundRulesetCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"o",
"OutboundRulesetCreateOpts",
")",
"(",
"*",
"OutboundRuleset",
",",
"error",
")",
"{",
"var",
"outboundRuleset",
"O... | // Create a new outbound ruleset | [
"Create",
"a",
"new",
"outbound",
"ruleset"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3231-L3234 |
20,032 | heroku/heroku-go | v3/heroku.go | PasswordResetResetPassword | func (s *Service) PasswordResetResetPassword(ctx context.Context, o PasswordResetResetPasswordOpts) (*PasswordReset, error) {
var passwordReset PasswordReset
return &passwordReset, s.Post(ctx, &passwordReset, fmt.Sprintf("/password-resets"), o)
} | go | func (s *Service) PasswordResetResetPassword(ctx context.Context, o PasswordResetResetPasswordOpts) (*PasswordReset, error) {
var passwordReset PasswordReset
return &passwordReset, s.Post(ctx, &passwordReset, fmt.Sprintf("/password-resets"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PasswordResetResetPassword",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"PasswordResetResetPasswordOpts",
")",
"(",
"*",
"PasswordReset",
",",
"error",
")",
"{",
"var",
"passwordReset",
"PasswordReset",
"\n",
"return... | // Reset account's password. This will send a reset password link to the
// user's email address. | [
"Reset",
"account",
"s",
"password",
".",
"This",
"will",
"send",
"a",
"reset",
"password",
"link",
"to",
"the",
"user",
"s",
"email",
"address",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3250-L3253 |
20,033 | heroku/heroku-go | v3/heroku.go | PasswordResetCompleteResetPassword | func (s *Service) PasswordResetCompleteResetPassword(ctx context.Context, passwordResetResetPasswordToken string, o PasswordResetCompleteResetPasswordOpts) (*PasswordReset, error) {
var passwordReset PasswordReset
return &passwordReset, s.Post(ctx, &passwordReset, fmt.Sprintf("/password-resets/%v/actions/finalize", p... | go | func (s *Service) PasswordResetCompleteResetPassword(ctx context.Context, passwordResetResetPasswordToken string, o PasswordResetCompleteResetPasswordOpts) (*PasswordReset, error) {
var passwordReset PasswordReset
return &passwordReset, s.Post(ctx, &passwordReset, fmt.Sprintf("/password-resets/%v/actions/finalize", p... | [
"func",
"(",
"s",
"*",
"Service",
")",
"PasswordResetCompleteResetPassword",
"(",
"ctx",
"context",
".",
"Context",
",",
"passwordResetResetPasswordToken",
"string",
",",
"o",
"PasswordResetCompleteResetPasswordOpts",
")",
"(",
"*",
"PasswordReset",
",",
"error",
")",... | // Complete password reset. | [
"Complete",
"password",
"reset",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3261-L3264 |
20,034 | heroku/heroku-go | v3/heroku.go | PeeringList | func (s *Service) PeeringList(ctx context.Context, spaceIdentity string, lr *ListRange) (PeeringListResult, error) {
var peering PeeringListResult
return peering, s.Get(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings", spaceIdentity), nil, lr)
} | go | func (s *Service) PeeringList(ctx context.Context, spaceIdentity string, lr *ListRange) (PeeringListResult, error) {
var peering PeeringListResult
return peering, s.Get(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings", spaceIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PeeringList",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PeeringListResult",
",",
"error",
")",
"{",
"var",
"peering",
"PeeringListResult",
"\n",
"r... | // List peering connections of a private space. | [
"List",
"peering",
"connections",
"of",
"a",
"private",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3282-L3285 |
20,035 | heroku/heroku-go | v3/heroku.go | PeeringAccept | func (s *Service) PeeringAccept(ctx context.Context, spaceIdentity string, peeringPcxID string) (*Peering, error) {
var peering Peering
return &peering, s.Post(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings/%v/actions/accept", spaceIdentity, peeringPcxID), nil)
} | go | func (s *Service) PeeringAccept(ctx context.Context, spaceIdentity string, peeringPcxID string) (*Peering, error) {
var peering Peering
return &peering, s.Post(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings/%v/actions/accept", spaceIdentity, peeringPcxID), nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PeeringAccept",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"peeringPcxID",
"string",
")",
"(",
"*",
"Peering",
",",
"error",
")",
"{",
"var",
"peering",
"Peering",
"\n",
"return",
"... | // Accept a pending peering connection with a private space. | [
"Accept",
"a",
"pending",
"peering",
"connection",
"with",
"a",
"private",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3288-L3291 |
20,036 | heroku/heroku-go | v3/heroku.go | PeeringDestroy | func (s *Service) PeeringDestroy(ctx context.Context, spaceIdentity string, peeringPcxID string) (*Peering, error) {
var peering Peering
return &peering, s.Delete(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings/%v", spaceIdentity, peeringPcxID))
} | go | func (s *Service) PeeringDestroy(ctx context.Context, spaceIdentity string, peeringPcxID string) (*Peering, error) {
var peering Peering
return &peering, s.Delete(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings/%v", spaceIdentity, peeringPcxID))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PeeringDestroy",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"peeringPcxID",
"string",
")",
"(",
"*",
"Peering",
",",
"error",
")",
"{",
"var",
"peering",
"Peering",
"\n",
"return",
... | // Destroy an active peering connection with a private space. | [
"Destroy",
"an",
"active",
"peering",
"connection",
"with",
"a",
"private",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3294-L3297 |
20,037 | heroku/heroku-go | v3/heroku.go | PeeringInfo | func (s *Service) PeeringInfo(ctx context.Context, spaceIdentity string, peeringPcxID string) (*Peering, error) {
var peering Peering
return &peering, s.Get(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings/%v", spaceIdentity, peeringPcxID), nil, nil)
} | go | func (s *Service) PeeringInfo(ctx context.Context, spaceIdentity string, peeringPcxID string) (*Peering, error) {
var peering Peering
return &peering, s.Get(ctx, &peering, fmt.Sprintf("/spaces/%v/peerings/%v", spaceIdentity, peeringPcxID), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PeeringInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"peeringPcxID",
"string",
")",
"(",
"*",
"Peering",
",",
"error",
")",
"{",
"var",
"peering",
"Peering",
"\n",
"return",
"&"... | // Fetch information for existing peering connection | [
"Fetch",
"information",
"for",
"existing",
"peering",
"connection"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3300-L3303 |
20,038 | heroku/heroku-go | v3/heroku.go | PeeringInfoInfo | func (s *Service) PeeringInfoInfo(ctx context.Context, spaceIdentity string) (*PeeringInfo, error) {
var peeringInfo PeeringInfo
return &peeringInfo, s.Get(ctx, &peeringInfo, fmt.Sprintf("/spaces/%v/peering-info", spaceIdentity), nil, nil)
} | go | func (s *Service) PeeringInfoInfo(ctx context.Context, spaceIdentity string) (*PeeringInfo, error) {
var peeringInfo PeeringInfo
return &peeringInfo, s.Get(ctx, &peeringInfo, fmt.Sprintf("/spaces/%v/peering-info", spaceIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PeeringInfoInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
")",
"(",
"*",
"PeeringInfo",
",",
"error",
")",
"{",
"var",
"peeringInfo",
"PeeringInfo",
"\n",
"return",
"&",
"peeringInfo",
... | // Provides the necessary information to establish an AWS VPC Peering
// with your private space. | [
"Provides",
"the",
"necessary",
"information",
"to",
"establish",
"an",
"AWS",
"VPC",
"Peering",
"with",
"your",
"private",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3322-L3325 |
20,039 | heroku/heroku-go | v3/heroku.go | PipelineCreate | func (s *Service) PipelineCreate(ctx context.Context, o PipelineCreateOpts) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Post(ctx, &pipeline, fmt.Sprintf("/pipelines"), o)
} | go | func (s *Service) PipelineCreate(ctx context.Context, o PipelineCreateOpts) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Post(ctx, &pipeline, fmt.Sprintf("/pipelines"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"PipelineCreateOpts",
")",
"(",
"*",
"Pipeline",
",",
"error",
")",
"{",
"var",
"pipeline",
"Pipeline",
"\n",
"return",
"&",
"pipeline",
",",
"s",
... | // Create a new pipeline. | [
"Create",
"a",
"new",
"pipeline",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3339-L3342 |
20,040 | heroku/heroku-go | v3/heroku.go | PipelineInfo | func (s *Service) PipelineInfo(ctx context.Context, pipelineIdentity string) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Get(ctx, &pipeline, fmt.Sprintf("/pipelines/%v", pipelineIdentity), nil, nil)
} | go | func (s *Service) PipelineInfo(ctx context.Context, pipelineIdentity string) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Get(ctx, &pipeline, fmt.Sprintf("/pipelines/%v", pipelineIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineIdentity",
"string",
")",
"(",
"*",
"Pipeline",
",",
"error",
")",
"{",
"var",
"pipeline",
"Pipeline",
"\n",
"return",
"&",
"pipeline",
",",
"s",
... | // Info for existing pipeline. | [
"Info",
"for",
"existing",
"pipeline",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3345-L3348 |
20,041 | heroku/heroku-go | v3/heroku.go | PipelineDelete | func (s *Service) PipelineDelete(ctx context.Context, pipelineID string) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Delete(ctx, &pipeline, fmt.Sprintf("/pipelines/%v", pipelineID))
} | go | func (s *Service) PipelineDelete(ctx context.Context, pipelineID string) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Delete(ctx, &pipeline, fmt.Sprintf("/pipelines/%v", pipelineID))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineID",
"string",
")",
"(",
"*",
"Pipeline",
",",
"error",
")",
"{",
"var",
"pipeline",
"Pipeline",
"\n",
"return",
"&",
"pipeline",
",",
"s",
".... | // Delete an existing pipeline. | [
"Delete",
"an",
"existing",
"pipeline",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3351-L3354 |
20,042 | heroku/heroku-go | v3/heroku.go | PipelineUpdate | func (s *Service) PipelineUpdate(ctx context.Context, pipelineID string, o PipelineUpdateOpts) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Patch(ctx, &pipeline, fmt.Sprintf("/pipelines/%v", pipelineID), o)
} | go | func (s *Service) PipelineUpdate(ctx context.Context, pipelineID string, o PipelineUpdateOpts) (*Pipeline, error) {
var pipeline Pipeline
return &pipeline, s.Patch(ctx, &pipeline, fmt.Sprintf("/pipelines/%v", pipelineID), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineID",
"string",
",",
"o",
"PipelineUpdateOpts",
")",
"(",
"*",
"Pipeline",
",",
"error",
")",
"{",
"var",
"pipeline",
"Pipeline",
"\n",
"return",
... | // Update an existing pipeline. | [
"Update",
"an",
"existing",
"pipeline",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3361-L3364 |
20,043 | heroku/heroku-go | v3/heroku.go | PipelineList | func (s *Service) PipelineList(ctx context.Context, lr *ListRange) (PipelineListResult, error) {
var pipeline PipelineListResult
return pipeline, s.Get(ctx, &pipeline, fmt.Sprintf("/pipelines"), nil, lr)
} | go | func (s *Service) PipelineList(ctx context.Context, lr *ListRange) (PipelineListResult, error) {
var pipeline PipelineListResult
return pipeline, s.Get(ctx, &pipeline, fmt.Sprintf("/pipelines"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelineListResult",
",",
"error",
")",
"{",
"var",
"pipeline",
"PipelineListResult",
"\n",
"return",
"pipeline",
",",
"s"... | // List existing pipelines. | [
"List",
"existing",
"pipelines",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3369-L3372 |
20,044 | heroku/heroku-go | v3/heroku.go | PipelineCouplingListByPipeline | func (s *Service) PipelineCouplingListByPipeline(ctx context.Context, pipelineID string, lr *ListRange) (PipelineCouplingListByPipelineResult, error) {
var pipelineCoupling PipelineCouplingListByPipelineResult
return pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/pipelines/%v/pipeline-couplings", pipel... | go | func (s *Service) PipelineCouplingListByPipeline(ctx context.Context, pipelineID string, lr *ListRange) (PipelineCouplingListByPipelineResult, error) {
var pipelineCoupling PipelineCouplingListByPipelineResult
return pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/pipelines/%v/pipeline-couplings", pipel... | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingListByPipeline",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineID",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelineCouplingListByPipelineResult",
",",
"error",
")",
"{",
"var",
"pipelineCo... | // List couplings for a pipeline | [
"List",
"couplings",
"for",
"a",
"pipeline"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3390-L3393 |
20,045 | heroku/heroku-go | v3/heroku.go | PipelineCouplingListForCurrentUser | func (s *Service) PipelineCouplingListForCurrentUser(ctx context.Context, lr *ListRange) (PipelineCouplingListForCurrentUserResult, error) {
var pipelineCoupling PipelineCouplingListForCurrentUserResult
return pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/users/~/pipeline-couplings"), nil, lr)
} | go | func (s *Service) PipelineCouplingListForCurrentUser(ctx context.Context, lr *ListRange) (PipelineCouplingListForCurrentUserResult, error) {
var pipelineCoupling PipelineCouplingListForCurrentUserResult
return pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/users/~/pipeline-couplings"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingListForCurrentUser",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelineCouplingListForCurrentUserResult",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCouplin... | // List pipeline couplings for the current user. | [
"List",
"pipeline",
"couplings",
"for",
"the",
"current",
"user",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3398-L3401 |
20,046 | heroku/heroku-go | v3/heroku.go | PipelineCouplingList | func (s *Service) PipelineCouplingList(ctx context.Context, lr *ListRange) (PipelineCouplingListResult, error) {
var pipelineCoupling PipelineCouplingListResult
return pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings"), nil, lr)
} | go | func (s *Service) PipelineCouplingList(ctx context.Context, lr *ListRange) (PipelineCouplingListResult, error) {
var pipelineCoupling PipelineCouplingListResult
return pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelineCouplingListResult",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCouplingListResult",
"\n",
"ret... | // List pipeline couplings. | [
"List",
"pipeline",
"couplings",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3406-L3409 |
20,047 | heroku/heroku-go | v3/heroku.go | PipelineCouplingCreate | func (s *Service) PipelineCouplingCreate(ctx context.Context, o PipelineCouplingCreateOpts) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Post(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings"), o)
} | go | func (s *Service) PipelineCouplingCreate(ctx context.Context, o PipelineCouplingCreateOpts) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Post(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"PipelineCouplingCreateOpts",
")",
"(",
"*",
"PipelineCoupling",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCoupling",
"\n",
"retur... | // Create a new pipeline coupling. | [
"Create",
"a",
"new",
"pipeline",
"coupling",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3418-L3421 |
20,048 | heroku/heroku-go | v3/heroku.go | PipelineCouplingInfo | func (s *Service) PipelineCouplingInfo(ctx context.Context, pipelineCouplingIdentity string) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings/%v", pipelineCouplingIdentity), nil, nil)
} | go | func (s *Service) PipelineCouplingInfo(ctx context.Context, pipelineCouplingIdentity string) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings/%v", pipelineCouplingIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineCouplingIdentity",
"string",
")",
"(",
"*",
"PipelineCoupling",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCoupling",
"\n",
"retu... | // Info for an existing pipeline coupling. | [
"Info",
"for",
"an",
"existing",
"pipeline",
"coupling",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3424-L3427 |
20,049 | heroku/heroku-go | v3/heroku.go | PipelineCouplingDelete | func (s *Service) PipelineCouplingDelete(ctx context.Context, pipelineCouplingIdentity string) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Delete(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings/%v", pipelineCouplingIdentity))
} | go | func (s *Service) PipelineCouplingDelete(ctx context.Context, pipelineCouplingIdentity string) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Delete(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings/%v", pipelineCouplingIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineCouplingIdentity",
"string",
")",
"(",
"*",
"PipelineCoupling",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCoupling",
"\n",
"re... | // Delete an existing pipeline coupling. | [
"Delete",
"an",
"existing",
"pipeline",
"coupling",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3430-L3433 |
20,050 | heroku/heroku-go | v3/heroku.go | PipelineCouplingUpdate | func (s *Service) PipelineCouplingUpdate(ctx context.Context, pipelineCouplingIdentity string, o PipelineCouplingUpdateOpts) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Patch(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings/%v", pipelineCouplingIdentity), o)
... | go | func (s *Service) PipelineCouplingUpdate(ctx context.Context, pipelineCouplingIdentity string, o PipelineCouplingUpdateOpts) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Patch(ctx, &pipelineCoupling, fmt.Sprintf("/pipeline-couplings/%v", pipelineCouplingIdentity), o)
... | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineCouplingIdentity",
"string",
",",
"o",
"PipelineCouplingUpdateOpts",
")",
"(",
"*",
"PipelineCoupling",
",",
"error",
")",
"{",
"var",
"pipeline... | // Update an existing pipeline coupling. | [
"Update",
"an",
"existing",
"pipeline",
"coupling",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3440-L3443 |
20,051 | heroku/heroku-go | v3/heroku.go | PipelineCouplingInfoByApp | func (s *Service) PipelineCouplingInfoByApp(ctx context.Context, appIdentity string) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/apps/%v/pipeline-couplings", appIdentity), nil, nil)
} | go | func (s *Service) PipelineCouplingInfoByApp(ctx context.Context, appIdentity string) (*PipelineCoupling, error) {
var pipelineCoupling PipelineCoupling
return &pipelineCoupling, s.Get(ctx, &pipelineCoupling, fmt.Sprintf("/apps/%v/pipeline-couplings", appIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingInfoByApp",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"*",
"PipelineCoupling",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCoupling",
"\n",
"return",
"... | // Info for an existing app pipeline coupling. | [
"Info",
"for",
"an",
"existing",
"app",
"pipeline",
"coupling",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3446-L3449 |
20,052 | heroku/heroku-go | v3/heroku.go | PipelinePromotionCreate | func (s *Service) PipelinePromotionCreate(ctx context.Context, o PipelinePromotionCreateOpts) (*PipelinePromotion, error) {
var pipelinePromotion PipelinePromotion
return &pipelinePromotion, s.Post(ctx, &pipelinePromotion, fmt.Sprintf("/pipeline-promotions"), o)
} | go | func (s *Service) PipelinePromotionCreate(ctx context.Context, o PipelinePromotionCreateOpts) (*PipelinePromotion, error) {
var pipelinePromotion PipelinePromotion
return &pipelinePromotion, s.Post(ctx, &pipelinePromotion, fmt.Sprintf("/pipeline-promotions"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelinePromotionCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"PipelinePromotionCreateOpts",
")",
"(",
"*",
"PipelinePromotion",
",",
"error",
")",
"{",
"var",
"pipelinePromotion",
"PipelinePromotion",
"\n",
"... | // Create a new promotion. | [
"Create",
"a",
"new",
"promotion",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3487-L3490 |
20,053 | heroku/heroku-go | v3/heroku.go | PipelinePromotionInfo | func (s *Service) PipelinePromotionInfo(ctx context.Context, pipelinePromotionIdentity string) (*PipelinePromotion, error) {
var pipelinePromotion PipelinePromotion
return &pipelinePromotion, s.Get(ctx, &pipelinePromotion, fmt.Sprintf("/pipeline-promotions/%v", pipelinePromotionIdentity), nil, nil)
} | go | func (s *Service) PipelinePromotionInfo(ctx context.Context, pipelinePromotionIdentity string) (*PipelinePromotion, error) {
var pipelinePromotion PipelinePromotion
return &pipelinePromotion, s.Get(ctx, &pipelinePromotion, fmt.Sprintf("/pipeline-promotions/%v", pipelinePromotionIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelinePromotionInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelinePromotionIdentity",
"string",
")",
"(",
"*",
"PipelinePromotion",
",",
"error",
")",
"{",
"var",
"pipelinePromotion",
"PipelinePromotion",
"\n",
... | // Info for existing pipeline promotion. | [
"Info",
"for",
"existing",
"pipeline",
"promotion",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3493-L3496 |
20,054 | heroku/heroku-go | v3/heroku.go | PipelinePromotionTargetList | func (s *Service) PipelinePromotionTargetList(ctx context.Context, pipelinePromotionID string, lr *ListRange) (PipelinePromotionTargetListResult, error) {
var pipelinePromotionTarget PipelinePromotionTargetListResult
return pipelinePromotionTarget, s.Get(ctx, &pipelinePromotionTarget, fmt.Sprintf("/pipeline-promotion... | go | func (s *Service) PipelinePromotionTargetList(ctx context.Context, pipelinePromotionID string, lr *ListRange) (PipelinePromotionTargetListResult, error) {
var pipelinePromotionTarget PipelinePromotionTargetListResult
return pipelinePromotionTarget, s.Get(ctx, &pipelinePromotionTarget, fmt.Sprintf("/pipeline-promotion... | [
"func",
"(",
"s",
"*",
"Service",
")",
"PipelinePromotionTargetList",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelinePromotionID",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelinePromotionTargetListResult",
",",
"error",
")",
"{",
"var",
"pipelin... | // List promotion targets belonging to an existing promotion. | [
"List",
"promotion",
"targets",
"belonging",
"to",
"an",
"existing",
"promotion",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3516-L3519 |
20,055 | heroku/heroku-go | v3/heroku.go | PlanInfo | func (s *Service) PlanInfo(ctx context.Context, planIdentity string) (*Plan, error) {
var plan Plan
return &plan, s.Get(ctx, &plan, fmt.Sprintf("/plans/%v", planIdentity), nil, nil)
} | go | func (s *Service) PlanInfo(ctx context.Context, planIdentity string) (*Plan, error) {
var plan Plan
return &plan, s.Get(ctx, &plan, fmt.Sprintf("/plans/%v", planIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PlanInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"planIdentity",
"string",
")",
"(",
"*",
"Plan",
",",
"error",
")",
"{",
"var",
"plan",
"Plan",
"\n",
"return",
"&",
"plan",
",",
"s",
".",
"Get",
"(",
... | // Info for existing plan. | [
"Info",
"for",
"existing",
"plan",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3550-L3553 |
20,056 | heroku/heroku-go | v3/heroku.go | PlanListByAddOn | func (s *Service) PlanListByAddOn(ctx context.Context, addOnServiceIdentity string, lr *ListRange) (PlanListByAddOnResult, error) {
var plan PlanListByAddOnResult
return plan, s.Get(ctx, &plan, fmt.Sprintf("/addon-services/%v/plans", addOnServiceIdentity), nil, lr)
} | go | func (s *Service) PlanListByAddOn(ctx context.Context, addOnServiceIdentity string, lr *ListRange) (PlanListByAddOnResult, error) {
var plan PlanListByAddOnResult
return plan, s.Get(ctx, &plan, fmt.Sprintf("/addon-services/%v/plans", addOnServiceIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"PlanListByAddOn",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnServiceIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PlanListByAddOnResult",
",",
"error",
")",
"{",
"var",
"plan",
"PlanListByAddOnResul... | // List existing plans by Add-on. | [
"List",
"existing",
"plans",
"by",
"Add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3564-L3567 |
20,057 | heroku/heroku-go | v3/heroku.go | RegionInfo | func (s *Service) RegionInfo(ctx context.Context, regionIdentity string) (*Region, error) {
var region Region
return ®ion, s.Get(ctx, ®ion, fmt.Sprintf("/regions/%v", regionIdentity), nil, nil)
} | go | func (s *Service) RegionInfo(ctx context.Context, regionIdentity string) (*Region, error) {
var region Region
return ®ion, s.Get(ctx, ®ion, fmt.Sprintf("/regions/%v", regionIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"RegionInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"regionIdentity",
"string",
")",
"(",
"*",
"Region",
",",
"error",
")",
"{",
"var",
"region",
"Region",
"\n",
"return",
"&",
"region",
",",
"s",
".",
"Ge... | // Info for existing region. | [
"Info",
"for",
"existing",
"region",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3599-L3602 |
20,058 | heroku/heroku-go | v3/heroku.go | RegionList | func (s *Service) RegionList(ctx context.Context, lr *ListRange) (RegionListResult, error) {
var region RegionListResult
return region, s.Get(ctx, ®ion, fmt.Sprintf("/regions"), nil, lr)
} | go | func (s *Service) RegionList(ctx context.Context, lr *ListRange) (RegionListResult, error) {
var region RegionListResult
return region, s.Get(ctx, ®ion, fmt.Sprintf("/regions"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"RegionList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"RegionListResult",
",",
"error",
")",
"{",
"var",
"region",
"RegionListResult",
"\n",
"return",
"region",
",",
"s",
".",
... | // List existing regions. | [
"List",
"existing",
"regions",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3607-L3610 |
20,059 | heroku/heroku-go | v3/heroku.go | ReleaseInfo | func (s *Service) ReleaseInfo(ctx context.Context, appIdentity string, releaseIdentity string) (*Release, error) {
var release Release
return &release, s.Get(ctx, &release, fmt.Sprintf("/apps/%v/releases/%v", appIdentity, releaseIdentity), nil, nil)
} | go | func (s *Service) ReleaseInfo(ctx context.Context, appIdentity string, releaseIdentity string) (*Release, error) {
var release Release
return &release, s.Get(ctx, &release, fmt.Sprintf("/apps/%v/releases/%v", appIdentity, releaseIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"ReleaseInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"releaseIdentity",
"string",
")",
"(",
"*",
"Release",
",",
"error",
")",
"{",
"var",
"release",
"Release",
"\n",
"return",
"&... | // Info for existing release. | [
"Info",
"for",
"existing",
"release",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3642-L3645 |
20,060 | heroku/heroku-go | v3/heroku.go | ReleaseList | func (s *Service) ReleaseList(ctx context.Context, appIdentity string, lr *ListRange) (ReleaseListResult, error) {
var release ReleaseListResult
return release, s.Get(ctx, &release, fmt.Sprintf("/apps/%v/releases", appIdentity), nil, lr)
} | go | func (s *Service) ReleaseList(ctx context.Context, appIdentity string, lr *ListRange) (ReleaseListResult, error) {
var release ReleaseListResult
return release, s.Get(ctx, &release, fmt.Sprintf("/apps/%v/releases", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"ReleaseList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"ReleaseListResult",
",",
"error",
")",
"{",
"var",
"release",
"ReleaseListResult",
"\n",
"ret... | // List existing releases. | [
"List",
"existing",
"releases",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3650-L3653 |
20,061 | heroku/heroku-go | v3/heroku.go | ReleaseCreate | func (s *Service) ReleaseCreate(ctx context.Context, appIdentity string, o ReleaseCreateOpts) (*Release, error) {
var release Release
return &release, s.Post(ctx, &release, fmt.Sprintf("/apps/%v/releases", appIdentity), o)
} | go | func (s *Service) ReleaseCreate(ctx context.Context, appIdentity string, o ReleaseCreateOpts) (*Release, error) {
var release Release
return &release, s.Post(ctx, &release, fmt.Sprintf("/apps/%v/releases", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"ReleaseCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"ReleaseCreateOpts",
")",
"(",
"*",
"Release",
",",
"error",
")",
"{",
"var",
"release",
"Release",
"\n",
"return",
"&"... | // Create new release. | [
"Create",
"new",
"release",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3661-L3664 |
20,062 | heroku/heroku-go | v3/heroku.go | ReleaseRollback | func (s *Service) ReleaseRollback(ctx context.Context, appIdentity string, o ReleaseRollbackOpts) (*Release, error) {
var release Release
return &release, s.Post(ctx, &release, fmt.Sprintf("/apps/%v/releases", appIdentity), o)
} | go | func (s *Service) ReleaseRollback(ctx context.Context, appIdentity string, o ReleaseRollbackOpts) (*Release, error) {
var release Release
return &release, s.Post(ctx, &release, fmt.Sprintf("/apps/%v/releases", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"ReleaseRollback",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"ReleaseRollbackOpts",
")",
"(",
"*",
"Release",
",",
"error",
")",
"{",
"var",
"release",
"Release",
"\n",
"return",
... | // Rollback to an existing release. | [
"Rollback",
"to",
"an",
"existing",
"release",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3671-L3674 |
20,063 | heroku/heroku-go | v3/heroku.go | SlugInfo | func (s *Service) SlugInfo(ctx context.Context, appIdentity string, slugIdentity string) (*Slug, error) {
var slug Slug
return &slug, s.Get(ctx, &slug, fmt.Sprintf("/apps/%v/slugs/%v", appIdentity, slugIdentity), nil, nil)
} | go | func (s *Service) SlugInfo(ctx context.Context, appIdentity string, slugIdentity string) (*Slug, error) {
var slug Slug
return &slug, s.Get(ctx, &slug, fmt.Sprintf("/apps/%v/slugs/%v", appIdentity, slugIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SlugInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"slugIdentity",
"string",
")",
"(",
"*",
"Slug",
",",
"error",
")",
"{",
"var",
"slug",
"Slug",
"\n",
"return",
"&",
"slug",
... | // Info for existing slug. | [
"Info",
"for",
"existing",
"slug",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3701-L3704 |
20,064 | heroku/heroku-go | v3/heroku.go | SniEndpointCreate | func (s *Service) SniEndpointCreate(ctx context.Context, appIdentity string, o SniEndpointCreateOpts) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Post(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints", appIdentity), o)
} | go | func (s *Service) SniEndpointCreate(ctx context.Context, appIdentity string, o SniEndpointCreateOpts) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Post(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SniEndpointCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"SniEndpointCreateOpts",
")",
"(",
"*",
"SniEndpoint",
",",
"error",
")",
"{",
"var",
"sniEndpoint",
"SniEndpoint",
"\n... | // Create a new SNI endpoint. | [
"Create",
"a",
"new",
"SNI",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3766-L3769 |
20,065 | heroku/heroku-go | v3/heroku.go | SniEndpointDelete | func (s *Service) SniEndpointDelete(ctx context.Context, appIdentity string, sniEndpointIdentity string) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Delete(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints/%v", appIdentity, sniEndpointIdentity))
} | go | func (s *Service) SniEndpointDelete(ctx context.Context, appIdentity string, sniEndpointIdentity string) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Delete(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints/%v", appIdentity, sniEndpointIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SniEndpointDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"sniEndpointIdentity",
"string",
")",
"(",
"*",
"SniEndpoint",
",",
"error",
")",
"{",
"var",
"sniEndpoint",
"SniEndpoint",
... | // Delete existing SNI endpoint. | [
"Delete",
"existing",
"SNI",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3772-L3775 |
20,066 | heroku/heroku-go | v3/heroku.go | SniEndpointInfo | func (s *Service) SniEndpointInfo(ctx context.Context, appIdentity string, sniEndpointIdentity string) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Get(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints/%v", appIdentity, sniEndpointIdentity), nil, nil)
} | go | func (s *Service) SniEndpointInfo(ctx context.Context, appIdentity string, sniEndpointIdentity string) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Get(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints/%v", appIdentity, sniEndpointIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SniEndpointInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"sniEndpointIdentity",
"string",
")",
"(",
"*",
"SniEndpoint",
",",
"error",
")",
"{",
"var",
"sniEndpoint",
"SniEndpoint",
"\... | // Info for existing SNI endpoint. | [
"Info",
"for",
"existing",
"SNI",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3778-L3781 |
20,067 | heroku/heroku-go | v3/heroku.go | SniEndpointList | func (s *Service) SniEndpointList(ctx context.Context, appIdentity string, lr *ListRange) (SniEndpointListResult, error) {
var sniEndpoint SniEndpointListResult
return sniEndpoint, s.Get(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints", appIdentity), nil, lr)
} | go | func (s *Service) SniEndpointList(ctx context.Context, appIdentity string, lr *ListRange) (SniEndpointListResult, error) {
var sniEndpoint SniEndpointListResult
return sniEndpoint, s.Get(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SniEndpointList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"SniEndpointListResult",
",",
"error",
")",
"{",
"var",
"sniEndpoint",
"SniEndpointListResult"... | // List existing SNI endpoints. | [
"List",
"existing",
"SNI",
"endpoints",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3786-L3789 |
20,068 | heroku/heroku-go | v3/heroku.go | SniEndpointUpdate | func (s *Service) SniEndpointUpdate(ctx context.Context, appIdentity string, sniEndpointIdentity string, o SniEndpointUpdateOpts) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Patch(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints/%v", appIdentity, sniEndpointIdentity), o)
} | go | func (s *Service) SniEndpointUpdate(ctx context.Context, appIdentity string, sniEndpointIdentity string, o SniEndpointUpdateOpts) (*SniEndpoint, error) {
var sniEndpoint SniEndpoint
return &sniEndpoint, s.Patch(ctx, &sniEndpoint, fmt.Sprintf("/apps/%v/sni-endpoints/%v", appIdentity, sniEndpointIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SniEndpointUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"sniEndpointIdentity",
"string",
",",
"o",
"SniEndpointUpdateOpts",
")",
"(",
"*",
"SniEndpoint",
",",
"error",
")",
"{",
"v... | // Update an existing SNI endpoint. | [
"Update",
"an",
"existing",
"SNI",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3797-L3800 |
20,069 | heroku/heroku-go | v3/heroku.go | SourceCreate | func (s *Service) SourceCreate(ctx context.Context) (*Source, error) {
var source Source
return &source, s.Post(ctx, &source, fmt.Sprintf("/sources"), nil)
} | go | func (s *Service) SourceCreate(ctx context.Context) (*Source, error) {
var source Source
return &source, s.Post(ctx, &source, fmt.Sprintf("/sources"), nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SourceCreate",
"(",
"ctx",
"context",
".",
"Context",
")",
"(",
"*",
"Source",
",",
"error",
")",
"{",
"var",
"source",
"Source",
"\n",
"return",
"&",
"source",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
... | // Create URLs for uploading and downloading source. | [
"Create",
"URLs",
"for",
"uploading",
"and",
"downloading",
"source",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3812-L3815 |
20,070 | heroku/heroku-go | v3/heroku.go | SpaceList | func (s *Service) SpaceList(ctx context.Context, lr *ListRange) (SpaceListResult, error) {
var space SpaceListResult
return space, s.Get(ctx, &space, fmt.Sprintf("/spaces"), nil, lr)
} | go | func (s *Service) SpaceList(ctx context.Context, lr *ListRange) (SpaceListResult, error) {
var space SpaceListResult
return space, s.Get(ctx, &space, fmt.Sprintf("/spaces"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"SpaceListResult",
",",
"error",
")",
"{",
"var",
"space",
"SpaceListResult",
"\n",
"return",
"space",
",",
"s",
".",
"Get... | // List existing spaces. | [
"List",
"existing",
"spaces",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3853-L3856 |
20,071 | heroku/heroku-go | v3/heroku.go | SpaceInfo | func (s *Service) SpaceInfo(ctx context.Context, spaceIdentity string) (*Space, error) {
var space Space
return &space, s.Get(ctx, &space, fmt.Sprintf("/spaces/%v", spaceIdentity), nil, nil)
} | go | func (s *Service) SpaceInfo(ctx context.Context, spaceIdentity string) (*Space, error) {
var space Space
return &space, s.Get(ctx, &space, fmt.Sprintf("/spaces/%v", spaceIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
")",
"(",
"*",
"Space",
",",
"error",
")",
"{",
"var",
"space",
"Space",
"\n",
"return",
"&",
"space",
",",
"s",
".",
"Get",
... | // Info for existing space. | [
"Info",
"for",
"existing",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3859-L3862 |
20,072 | heroku/heroku-go | v3/heroku.go | SpaceUpdate | func (s *Service) SpaceUpdate(ctx context.Context, spaceIdentity string, o SpaceUpdateOpts) (*Space, error) {
var space Space
return &space, s.Patch(ctx, &space, fmt.Sprintf("/spaces/%v", spaceIdentity), o)
} | go | func (s *Service) SpaceUpdate(ctx context.Context, spaceIdentity string, o SpaceUpdateOpts) (*Space, error) {
var space Space
return &space, s.Patch(ctx, &space, fmt.Sprintf("/spaces/%v", spaceIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"o",
"SpaceUpdateOpts",
")",
"(",
"*",
"Space",
",",
"error",
")",
"{",
"var",
"space",
"Space",
"\n",
"return",
"&",
"spa... | // Update an existing space. | [
"Update",
"an",
"existing",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3869-L3872 |
20,073 | heroku/heroku-go | v3/heroku.go | SpaceDelete | func (s *Service) SpaceDelete(ctx context.Context, spaceIdentity string) (*Space, error) {
var space Space
return &space, s.Delete(ctx, &space, fmt.Sprintf("/spaces/%v", spaceIdentity))
} | go | func (s *Service) SpaceDelete(ctx context.Context, spaceIdentity string) (*Space, error) {
var space Space
return &space, s.Delete(ctx, &space, fmt.Sprintf("/spaces/%v", spaceIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
")",
"(",
"*",
"Space",
",",
"error",
")",
"{",
"var",
"space",
"Space",
"\n",
"return",
"&",
"space",
",",
"s",
".",
"Delete... | // Delete an existing space. | [
"Delete",
"an",
"existing",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3875-L3878 |
20,074 | heroku/heroku-go | v3/heroku.go | SpaceCreate | func (s *Service) SpaceCreate(ctx context.Context, o SpaceCreateOpts) (*Space, error) {
var space Space
return &space, s.Post(ctx, &space, fmt.Sprintf("/spaces"), o)
} | go | func (s *Service) SpaceCreate(ctx context.Context, o SpaceCreateOpts) (*Space, error) {
var space Space
return &space, s.Post(ctx, &space, fmt.Sprintf("/spaces"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"SpaceCreateOpts",
")",
"(",
"*",
"Space",
",",
"error",
")",
"{",
"var",
"space",
"Space",
"\n",
"return",
"&",
"space",
",",
"s",
".",
"Post",
... | // Create a new space. | [
"Create",
"a",
"new",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3893-L3896 |
20,075 | heroku/heroku-go | v3/heroku.go | SpaceAppAccessInfo | func (s *Service) SpaceAppAccessInfo(ctx context.Context, spaceIdentity string, accountIdentity string) (*SpaceAppAccess, error) {
var spaceAppAccess SpaceAppAccess
return &spaceAppAccess, s.Get(ctx, &spaceAppAccess, fmt.Sprintf("/spaces/%v/members/%v", spaceIdentity, accountIdentity), nil, nil)
} | go | func (s *Service) SpaceAppAccessInfo(ctx context.Context, spaceIdentity string, accountIdentity string) (*SpaceAppAccess, error) {
var spaceAppAccess SpaceAppAccess
return &spaceAppAccess, s.Get(ctx, &spaceAppAccess, fmt.Sprintf("/spaces/%v/members/%v", spaceIdentity, accountIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceAppAccessInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"accountIdentity",
"string",
")",
"(",
"*",
"SpaceAppAccess",
",",
"error",
")",
"{",
"var",
"spaceAppAccess",
"SpaceAppAcc... | // List permissions for a given user on a given space. | [
"List",
"permissions",
"for",
"a",
"given",
"user",
"on",
"a",
"given",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3919-L3922 |
20,076 | heroku/heroku-go | v3/heroku.go | SpaceAppAccessUpdate | func (s *Service) SpaceAppAccessUpdate(ctx context.Context, spaceIdentity string, accountIdentity string, o SpaceAppAccessUpdateOpts) (*SpaceAppAccess, error) {
var spaceAppAccess SpaceAppAccess
return &spaceAppAccess, s.Patch(ctx, &spaceAppAccess, fmt.Sprintf("/spaces/%v/members/%v", spaceIdentity, accountIdentity),... | go | func (s *Service) SpaceAppAccessUpdate(ctx context.Context, spaceIdentity string, accountIdentity string, o SpaceAppAccessUpdateOpts) (*SpaceAppAccess, error) {
var spaceAppAccess SpaceAppAccess
return &spaceAppAccess, s.Patch(ctx, &spaceAppAccess, fmt.Sprintf("/spaces/%v/members/%v", spaceIdentity, accountIdentity),... | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceAppAccessUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"accountIdentity",
"string",
",",
"o",
"SpaceAppAccessUpdateOpts",
")",
"(",
"*",
"SpaceAppAccess",
",",
"error",
")",
"{... | // Update an existing user's set of permissions on a space. | [
"Update",
"an",
"existing",
"user",
"s",
"set",
"of",
"permissions",
"on",
"a",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3931-L3934 |
20,077 | heroku/heroku-go | v3/heroku.go | SpaceAppAccessList | func (s *Service) SpaceAppAccessList(ctx context.Context, spaceIdentity string, lr *ListRange) (SpaceAppAccessListResult, error) {
var spaceAppAccess SpaceAppAccessListResult
return spaceAppAccess, s.Get(ctx, &spaceAppAccess, fmt.Sprintf("/spaces/%v/members", spaceIdentity), nil, lr)
} | go | func (s *Service) SpaceAppAccessList(ctx context.Context, spaceIdentity string, lr *ListRange) (SpaceAppAccessListResult, error) {
var spaceAppAccess SpaceAppAccessListResult
return spaceAppAccess, s.Get(ctx, &spaceAppAccess, fmt.Sprintf("/spaces/%v/members", spaceIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceAppAccessList",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"SpaceAppAccessListResult",
",",
"error",
")",
"{",
"var",
"spaceAppAccess",
"SpaceAppAcc... | // List all users and their permissions on a space. | [
"List",
"all",
"users",
"and",
"their",
"permissions",
"on",
"a",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3939-L3942 |
20,078 | heroku/heroku-go | v3/heroku.go | SpaceNATInfo | func (s *Service) SpaceNATInfo(ctx context.Context, spaceIdentity string) (*SpaceNAT, error) {
var spaceNAT SpaceNAT
return &spaceNAT, s.Get(ctx, &spaceNAT, fmt.Sprintf("/spaces/%v/nat", spaceIdentity), nil, nil)
} | go | func (s *Service) SpaceNATInfo(ctx context.Context, spaceIdentity string) (*SpaceNAT, error) {
var spaceNAT SpaceNAT
return &spaceNAT, s.Get(ctx, &spaceNAT, fmt.Sprintf("/spaces/%v/nat", spaceIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceNATInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
")",
"(",
"*",
"SpaceNAT",
",",
"error",
")",
"{",
"var",
"spaceNAT",
"SpaceNAT",
"\n",
"return",
"&",
"spaceNAT",
",",
"s",
"... | // Current state of network address translation for a space. | [
"Current",
"state",
"of",
"network",
"address",
"translation",
"for",
"a",
"space",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3954-L3957 |
20,079 | heroku/heroku-go | v3/heroku.go | SSLEndpointCreate | func (s *Service) SSLEndpointCreate(ctx context.Context, appIdentity string, o SSLEndpointCreateOpts) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Post(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints", appIdentity), o)
} | go | func (s *Service) SSLEndpointCreate(ctx context.Context, appIdentity string, o SSLEndpointCreateOpts) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Post(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SSLEndpointCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"SSLEndpointCreateOpts",
")",
"(",
"*",
"SSLEndpoint",
",",
"error",
")",
"{",
"var",
"sslEndpoint",
"SSLEndpoint",
"\n... | // Create a new SSL endpoint. | [
"Create",
"a",
"new",
"SSL",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3984-L3987 |
20,080 | heroku/heroku-go | v3/heroku.go | SSLEndpointDelete | func (s *Service) SSLEndpointDelete(ctx context.Context, appIdentity string, sslEndpointIdentity string) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Delete(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints/%v", appIdentity, sslEndpointIdentity))
} | go | func (s *Service) SSLEndpointDelete(ctx context.Context, appIdentity string, sslEndpointIdentity string) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Delete(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints/%v", appIdentity, sslEndpointIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SSLEndpointDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"sslEndpointIdentity",
"string",
")",
"(",
"*",
"SSLEndpoint",
",",
"error",
")",
"{",
"var",
"sslEndpoint",
"SSLEndpoint",
... | // Delete existing SSL endpoint. | [
"Delete",
"existing",
"SSL",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3990-L3993 |
20,081 | heroku/heroku-go | v3/heroku.go | SSLEndpointInfo | func (s *Service) SSLEndpointInfo(ctx context.Context, appIdentity string, sslEndpointIdentity string) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Get(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints/%v", appIdentity, sslEndpointIdentity), nil, nil)
} | go | func (s *Service) SSLEndpointInfo(ctx context.Context, appIdentity string, sslEndpointIdentity string) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Get(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints/%v", appIdentity, sslEndpointIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SSLEndpointInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"sslEndpointIdentity",
"string",
")",
"(",
"*",
"SSLEndpoint",
",",
"error",
")",
"{",
"var",
"sslEndpoint",
"SSLEndpoint",
"\... | // Info for existing SSL endpoint. | [
"Info",
"for",
"existing",
"SSL",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L3996-L3999 |
20,082 | heroku/heroku-go | v3/heroku.go | SSLEndpointList | func (s *Service) SSLEndpointList(ctx context.Context, appIdentity string, lr *ListRange) (SSLEndpointListResult, error) {
var sslEndpoint SSLEndpointListResult
return sslEndpoint, s.Get(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints", appIdentity), nil, lr)
} | go | func (s *Service) SSLEndpointList(ctx context.Context, appIdentity string, lr *ListRange) (SSLEndpointListResult, error) {
var sslEndpoint SSLEndpointListResult
return sslEndpoint, s.Get(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SSLEndpointList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"SSLEndpointListResult",
",",
"error",
")",
"{",
"var",
"sslEndpoint",
"SSLEndpointListResult"... | // List existing SSL endpoints. | [
"List",
"existing",
"SSL",
"endpoints",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4004-L4007 |
20,083 | heroku/heroku-go | v3/heroku.go | SSLEndpointUpdate | func (s *Service) SSLEndpointUpdate(ctx context.Context, appIdentity string, sslEndpointIdentity string, o SSLEndpointUpdateOpts) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Patch(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints/%v", appIdentity, sslEndpointIdentity), o)
} | go | func (s *Service) SSLEndpointUpdate(ctx context.Context, appIdentity string, sslEndpointIdentity string, o SSLEndpointUpdateOpts) (*SSLEndpoint, error) {
var sslEndpoint SSLEndpoint
return &sslEndpoint, s.Patch(ctx, &sslEndpoint, fmt.Sprintf("/apps/%v/ssl-endpoints/%v", appIdentity, sslEndpointIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"SSLEndpointUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"sslEndpointIdentity",
"string",
",",
"o",
"SSLEndpointUpdateOpts",
")",
"(",
"*",
"SSLEndpoint",
",",
"error",
")",
"{",
"v... | // Update an existing SSL endpoint. | [
"Update",
"an",
"existing",
"SSL",
"endpoint",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4019-L4022 |
20,084 | heroku/heroku-go | v3/heroku.go | StackInfo | func (s *Service) StackInfo(ctx context.Context, stackIdentity string) (*Stack, error) {
var stack Stack
return &stack, s.Get(ctx, &stack, fmt.Sprintf("/stacks/%v", stackIdentity), nil, nil)
} | go | func (s *Service) StackInfo(ctx context.Context, stackIdentity string) (*Stack, error) {
var stack Stack
return &stack, s.Get(ctx, &stack, fmt.Sprintf("/stacks/%v", stackIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"StackInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"stackIdentity",
"string",
")",
"(",
"*",
"Stack",
",",
"error",
")",
"{",
"var",
"stack",
"Stack",
"\n",
"return",
"&",
"stack",
",",
"s",
".",
"Get",
... | // Stack info. | [
"Stack",
"info",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4036-L4039 |
20,085 | heroku/heroku-go | v3/heroku.go | StackList | func (s *Service) StackList(ctx context.Context, lr *ListRange) (StackListResult, error) {
var stack StackListResult
return stack, s.Get(ctx, &stack, fmt.Sprintf("/stacks"), nil, lr)
} | go | func (s *Service) StackList(ctx context.Context, lr *ListRange) (StackListResult, error) {
var stack StackListResult
return stack, s.Get(ctx, &stack, fmt.Sprintf("/stacks"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"StackList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"StackListResult",
",",
"error",
")",
"{",
"var",
"stack",
"StackListResult",
"\n",
"return",
"stack",
",",
"s",
".",
"Get... | // List available stacks. | [
"List",
"available",
"stacks",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4044-L4047 |
20,086 | heroku/heroku-go | v3/heroku.go | TeamList | func (s *Service) TeamList(ctx context.Context, lr *ListRange) (TeamListResult, error) {
var team TeamListResult
return team, s.Get(ctx, &team, fmt.Sprintf("/teams"), nil, lr)
} | go | func (s *Service) TeamList(ctx context.Context, lr *ListRange) (TeamListResult, error) {
var team TeamListResult
return team, s.Get(ctx, &team, fmt.Sprintf("/teams"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"TeamListResult",
",",
"error",
")",
"{",
"var",
"team",
"TeamListResult",
"\n",
"return",
"team",
",",
"s",
".",
"Get",
... | // List teams in which you are a member. | [
"List",
"teams",
"in",
"which",
"you",
"are",
"a",
"member",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4066-L4069 |
20,087 | heroku/heroku-go | v3/heroku.go | TeamInfo | func (s *Service) TeamInfo(ctx context.Context, teamIdentity string) (*Team, error) {
var team Team
return &team, s.Get(ctx, &team, fmt.Sprintf("/teams/%v", teamIdentity), nil, nil)
} | go | func (s *Service) TeamInfo(ctx context.Context, teamIdentity string) (*Team, error) {
var team Team
return &team, s.Get(ctx, &team, fmt.Sprintf("/teams/%v", teamIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamIdentity",
"string",
")",
"(",
"*",
"Team",
",",
"error",
")",
"{",
"var",
"team",
"Team",
"\n",
"return",
"&",
"team",
",",
"s",
".",
"Get",
"(",
... | // Info for a team. | [
"Info",
"for",
"a",
"team",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4072-L4075 |
20,088 | heroku/heroku-go | v3/heroku.go | TeamUpdate | func (s *Service) TeamUpdate(ctx context.Context, teamIdentity string, o TeamUpdateOpts) (*Team, error) {
var team Team
return &team, s.Patch(ctx, &team, fmt.Sprintf("/teams/%v", teamIdentity), o)
} | go | func (s *Service) TeamUpdate(ctx context.Context, teamIdentity string, o TeamUpdateOpts) (*Team, error) {
var team Team
return &team, s.Patch(ctx, &team, fmt.Sprintf("/teams/%v", teamIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamIdentity",
"string",
",",
"o",
"TeamUpdateOpts",
")",
"(",
"*",
"Team",
",",
"error",
")",
"{",
"var",
"team",
"Team",
"\n",
"return",
"&",
"team",
... | // Update team properties. | [
"Update",
"team",
"properties",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4083-L4086 |
20,089 | heroku/heroku-go | v3/heroku.go | TeamCreate | func (s *Service) TeamCreate(ctx context.Context, o TeamCreateOpts) (*Team, error) {
var team Team
return &team, s.Post(ctx, &team, fmt.Sprintf("/teams"), o)
} | go | func (s *Service) TeamCreate(ctx context.Context, o TeamCreateOpts) (*Team, error) {
var team Team
return &team, s.Post(ctx, &team, fmt.Sprintf("/teams"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"TeamCreateOpts",
")",
"(",
"*",
"Team",
",",
"error",
")",
"{",
"var",
"team",
"Team",
"\n",
"return",
"&",
"team",
",",
"s",
".",
"Post",
"(",
... | // Create a new team. | [
"Create",
"a",
"new",
"team",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4108-L4111 |
20,090 | heroku/heroku-go | v3/heroku.go | TeamDelete | func (s *Service) TeamDelete(ctx context.Context, teamIdentity string) (*Team, error) {
var team Team
return &team, s.Delete(ctx, &team, fmt.Sprintf("/teams/%v", teamIdentity))
} | go | func (s *Service) TeamDelete(ctx context.Context, teamIdentity string) (*Team, error) {
var team Team
return &team, s.Delete(ctx, &team, fmt.Sprintf("/teams/%v", teamIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamIdentity",
"string",
")",
"(",
"*",
"Team",
",",
"error",
")",
"{",
"var",
"team",
"Team",
"\n",
"return",
"&",
"team",
",",
"s",
".",
"Delete",
"... | // Delete an existing team. | [
"Delete",
"an",
"existing",
"team",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4114-L4117 |
20,091 | heroku/heroku-go | v3/heroku.go | TeamAppCreate | func (s *Service) TeamAppCreate(ctx context.Context, o TeamAppCreateOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Post(ctx, &teamApp, fmt.Sprintf("/teams/apps"), o)
} | go | func (s *Service) TeamAppCreate(ctx context.Context, o TeamAppCreateOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Post(ctx, &teamApp, fmt.Sprintf("/teams/apps"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"TeamAppCreateOpts",
")",
"(",
"*",
"TeamApp",
",",
"error",
")",
"{",
"var",
"teamApp",
"TeamApp",
"\n",
"return",
"&",
"teamApp",
",",
"s",
".",
... | // Create a new app in the specified team, in the default team if
// unspecified, or in personal account, if default team is not set. | [
"Create",
"a",
"new",
"app",
"in",
"the",
"specified",
"team",
"in",
"the",
"default",
"team",
"if",
"unspecified",
"or",
"in",
"personal",
"account",
"if",
"default",
"team",
"is",
"not",
"set",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4175-L4178 |
20,092 | heroku/heroku-go | v3/heroku.go | TeamAppInfo | func (s *Service) TeamAppInfo(ctx context.Context, teamAppIdentity string) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Get(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), nil, nil)
} | go | func (s *Service) TeamAppInfo(ctx context.Context, teamAppIdentity string) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Get(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
")",
"(",
"*",
"TeamApp",
",",
"error",
")",
"{",
"var",
"teamApp",
"TeamApp",
"\n",
"return",
"&",
"teamApp",
",",
"s",
".",... | // Info for a team app. | [
"Info",
"for",
"a",
"team",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4181-L4184 |
20,093 | heroku/heroku-go | v3/heroku.go | TeamAppUpdateLocked | func (s *Service) TeamAppUpdateLocked(ctx context.Context, teamAppIdentity string, o TeamAppUpdateLockedOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Patch(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), o)
} | go | func (s *Service) TeamAppUpdateLocked(ctx context.Context, teamAppIdentity string, o TeamAppUpdateLockedOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Patch(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppUpdateLocked",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"o",
"TeamAppUpdateLockedOpts",
")",
"(",
"*",
"TeamApp",
",",
"error",
")",
"{",
"var",
"teamApp",
"TeamApp",
"\n",
... | // Lock or unlock a team app. | [
"Lock",
"or",
"unlock",
"a",
"team",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4191-L4194 |
20,094 | heroku/heroku-go | v3/heroku.go | TeamAppTransferToAccount | func (s *Service) TeamAppTransferToAccount(ctx context.Context, teamAppIdentity string, o TeamAppTransferToAccountOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Patch(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), o)
} | go | func (s *Service) TeamAppTransferToAccount(ctx context.Context, teamAppIdentity string, o TeamAppTransferToAccountOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Patch(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppTransferToAccount",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"o",
"TeamAppTransferToAccountOpts",
")",
"(",
"*",
"TeamApp",
",",
"error",
")",
"{",
"var",
"teamApp",
"TeamApp",... | // Transfer an existing team app to another Heroku account. | [
"Transfer",
"an",
"existing",
"team",
"app",
"to",
"another",
"Heroku",
"account",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4201-L4204 |
20,095 | heroku/heroku-go | v3/heroku.go | TeamAppTransferToTeam | func (s *Service) TeamAppTransferToTeam(ctx context.Context, teamAppIdentity string, o TeamAppTransferToTeamOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Patch(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), o)
} | go | func (s *Service) TeamAppTransferToTeam(ctx context.Context, teamAppIdentity string, o TeamAppTransferToTeamOpts) (*TeamApp, error) {
var teamApp TeamApp
return &teamApp, s.Patch(ctx, &teamApp, fmt.Sprintf("/teams/apps/%v", teamAppIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppTransferToTeam",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"o",
"TeamAppTransferToTeamOpts",
")",
"(",
"*",
"TeamApp",
",",
"error",
")",
"{",
"var",
"teamApp",
"TeamApp",
"\n... | // Transfer an existing team app to another team. | [
"Transfer",
"an",
"existing",
"team",
"app",
"to",
"another",
"team",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4211-L4214 |
20,096 | heroku/heroku-go | v3/heroku.go | TeamAppListByTeam | func (s *Service) TeamAppListByTeam(ctx context.Context, teamIdentity string, lr *ListRange) (TeamAppListByTeamResult, error) {
var teamApp TeamAppListByTeamResult
return teamApp, s.Get(ctx, &teamApp, fmt.Sprintf("/teams/%v/apps", teamIdentity), nil, lr)
} | go | func (s *Service) TeamAppListByTeam(ctx context.Context, teamIdentity string, lr *ListRange) (TeamAppListByTeamResult, error) {
var teamApp TeamAppListByTeamResult
return teamApp, s.Get(ctx, &teamApp, fmt.Sprintf("/teams/%v/apps", teamIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppListByTeam",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"TeamAppListByTeamResult",
",",
"error",
")",
"{",
"var",
"teamApp",
"TeamAppListByTeamResu... | // List team apps. | [
"List",
"team",
"apps",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4219-L4222 |
20,097 | heroku/heroku-go | v3/heroku.go | TeamAppCollaboratorDelete | func (s *Service) TeamAppCollaboratorDelete(ctx context.Context, teamAppIdentity string, teamAppCollaboratorIdentity string) (*TeamAppCollaborator, error) {
var teamAppCollaborator TeamAppCollaborator
return &teamAppCollaborator, s.Delete(ctx, &teamAppCollaborator, fmt.Sprintf("/teams/apps/%v/collaborators/%v", teamA... | go | func (s *Service) TeamAppCollaboratorDelete(ctx context.Context, teamAppIdentity string, teamAppCollaboratorIdentity string) (*TeamAppCollaborator, error) {
var teamAppCollaborator TeamAppCollaborator
return &teamAppCollaborator, s.Delete(ctx, &teamAppCollaborator, fmt.Sprintf("/teams/apps/%v/collaborators/%v", teamA... | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCollaboratorDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"teamAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"TeamAppCollaborator",
",",
"error",
")",
"{",
"var",
"teamA... | // Delete an existing collaborator from a team app. | [
"Delete",
"an",
"existing",
"collaborator",
"from",
"a",
"team",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4263-L4266 |
20,098 | heroku/heroku-go | v3/heroku.go | TeamAppCollaboratorInfo | func (s *Service) TeamAppCollaboratorInfo(ctx context.Context, teamAppIdentity string, teamAppCollaboratorIdentity string) (*TeamAppCollaborator, error) {
var teamAppCollaborator TeamAppCollaborator
return &teamAppCollaborator, s.Get(ctx, &teamAppCollaborator, fmt.Sprintf("/teams/apps/%v/collaborators/%v", teamAppIde... | go | func (s *Service) TeamAppCollaboratorInfo(ctx context.Context, teamAppIdentity string, teamAppCollaboratorIdentity string) (*TeamAppCollaborator, error) {
var teamAppCollaborator TeamAppCollaborator
return &teamAppCollaborator, s.Get(ctx, &teamAppCollaborator, fmt.Sprintf("/teams/apps/%v/collaborators/%v", teamAppIde... | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCollaboratorInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"teamAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"TeamAppCollaborator",
",",
"error",
")",
"{",
"var",
"teamApp... | // Info for a collaborator on a team app. | [
"Info",
"for",
"a",
"collaborator",
"on",
"a",
"team",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4269-L4272 |
20,099 | heroku/heroku-go | v3/heroku.go | TeamAppCollaboratorUpdate | func (s *Service) TeamAppCollaboratorUpdate(ctx context.Context, teamAppIdentity string, teamAppCollaboratorIdentity string, o TeamAppCollaboratorUpdateOpts) (*TeamAppCollaborator, error) {
var teamAppCollaborator TeamAppCollaborator
return &teamAppCollaborator, s.Patch(ctx, &teamAppCollaborator, fmt.Sprintf("/teams/... | go | func (s *Service) TeamAppCollaboratorUpdate(ctx context.Context, teamAppIdentity string, teamAppCollaboratorIdentity string, o TeamAppCollaboratorUpdateOpts) (*TeamAppCollaborator, error) {
var teamAppCollaborator TeamAppCollaborator
return &teamAppCollaborator, s.Patch(ctx, &teamAppCollaborator, fmt.Sprintf("/teams/... | [
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCollaboratorUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"teamAppCollaboratorIdentity",
"string",
",",
"o",
"TeamAppCollaboratorUpdateOpts",
")",
"(",
"*",
"TeamAppCollaborator",
... | // Update an existing collaborator from a team app. | [
"Update",
"an",
"existing",
"collaborator",
"from",
"a",
"team",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L4279-L4282 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.