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",
"&",
"organization",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organization",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"Organization",
"\n",
"return",
"&",
"organization",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organization",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"&",
"organization",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"organization",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
")",
"\n",
"}"
] |
// 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("/organizations/%v/addons", organizationIdentity), nil, lr)
}
|
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("/organizations/%v/addons", organizationIdentity), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAddOnListForOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAddOnListForOrganizationResult",
",",
"error",
")",
"{",
"var",
"organizationAddOn",
"OrganizationAddOnListForOrganizationResult",
"\n",
"return",
"organizationAddOn",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationAddOn",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"&",
"organizationApp",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"organizationApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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/apps", organizationIdentity), nil, lr)
}
|
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/apps", organizationIdentity), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppListForOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAppListForOrganizationResult",
",",
"error",
")",
"{",
"var",
"organizationApp",
"OrganizationAppListForOrganizationResult",
"\n",
"return",
"organizationApp",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"&",
"organizationApp",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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), o)
}
|
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), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppUpdateLocked",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"o",
"OrganizationAppUpdateLockedOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
"var",
"organizationApp",
"OrganizationApp",
"\n",
"return",
"&",
"organizationApp",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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", organizationAppIdentity), o)
}
|
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", organizationAppIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppTransferToAccount",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"o",
"OrganizationAppTransferToAccountOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
"var",
"organizationApp",
"OrganizationApp",
"\n",
"return",
"&",
"organizationApp",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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", organizationAppIdentity), o)
}
|
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", organizationAppIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppTransferToOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"o",
"OrganizationAppTransferToOrganizationOpts",
")",
"(",
"*",
"OrganizationApp",
",",
"error",
")",
"{",
"var",
"organizationApp",
"OrganizationApp",
"\n",
"return",
"&",
"organizationApp",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators/%v", organizationAppIdentity, organizationAppCollaboratorIdentity))
}
|
go
|
func (s *Service) OrganizationAppCollaboratorDelete(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Delete(ctx, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators/%v", organizationAppIdentity, organizationAppCollaboratorIdentity))
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"organizationAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"OrganizationAppCollaborator",
",",
"error",
")",
"{",
"var",
"organizationAppCollaborator",
"OrganizationAppCollaborator",
"\n",
"return",
"&",
"organizationAppCollaborator",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"organizationAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
",",
"organizationAppCollaboratorIdentity",
")",
")",
"\n",
"}"
] |
// 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, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators/%v", organizationAppIdentity, organizationAppCollaboratorIdentity), nil, nil)
}
|
go
|
func (s *Service) OrganizationAppCollaboratorInfo(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Get(ctx, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators/%v", organizationAppIdentity, organizationAppCollaboratorIdentity), nil, nil)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"organizationAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"OrganizationAppCollaborator",
",",
"error",
")",
"{",
"var",
"organizationAppCollaborator",
"OrganizationAppCollaborator",
"\n",
"return",
"&",
"organizationAppCollaborator",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
",",
"organizationAppCollaboratorIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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 &organizationAppCollaborator, s.Patch(ctx, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators/%v", organizationAppIdentity, organizationAppCollaboratorIdentity), o)
}
|
go
|
func (s *Service) OrganizationAppCollaboratorUpdate(ctx context.Context, organizationAppIdentity string, organizationAppCollaboratorIdentity string, o OrganizationAppCollaboratorUpdateOpts) (*OrganizationAppCollaborator, error) {
var organizationAppCollaborator OrganizationAppCollaborator
return &organizationAppCollaborator, s.Patch(ctx, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators/%v", organizationAppIdentity, organizationAppCollaboratorIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"organizationAppCollaboratorIdentity",
"string",
",",
"o",
"OrganizationAppCollaboratorUpdateOpts",
")",
"(",
"*",
"OrganizationAppCollaborator",
",",
"error",
")",
"{",
"var",
"organizationAppCollaborator",
"OrganizationAppCollaborator",
"\n",
"return",
"&",
"organizationAppCollaborator",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
",",
"organizationAppCollaboratorIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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.Sprintf("/organizations/apps/%v/collaborators", organizationAppIdentity), nil, lr)
}
|
go
|
func (s *Service) OrganizationAppCollaboratorList(ctx context.Context, organizationAppIdentity string, lr *ListRange) (OrganizationAppCollaboratorListResult, error) {
var organizationAppCollaborator OrganizationAppCollaboratorListResult
return organizationAppCollaborator, s.Get(ctx, &organizationAppCollaborator, fmt.Sprintf("/organizations/apps/%v/collaborators", organizationAppIdentity), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppCollaboratorList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationAppIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAppCollaboratorListResult",
",",
"error",
")",
"{",
"var",
"organizationAppCollaborator",
"OrganizationAppCollaboratorListResult",
"\n",
"return",
"organizationAppCollaborator",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationAppIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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, lr)
}
|
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, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationAppPermissionList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationAppPermissionListResult",
",",
"error",
")",
"{",
"var",
"organizationAppPermission",
"OrganizationAppPermissionListResult",
"\n",
"return",
"organizationAppPermission",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationAppPermission",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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", organizationIdentity, organizationFeatureIdentity), nil, nil)
}
|
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", organizationIdentity, organizationFeatureIdentity), nil, nil)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationFeatureInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationFeatureIdentity",
"string",
")",
"(",
"*",
"OrganizationFeature",
",",
"error",
")",
"{",
"var",
"organizationFeature",
"OrganizationFeature",
"\n",
"return",
"&",
"organizationFeature",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationFeature",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
",",
"organizationFeatureIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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", organizationIdentity), nil, lr)
}
|
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", organizationIdentity), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationFeatureList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationFeatureListResult",
",",
"error",
")",
"{",
"var",
"organizationFeature",
"OrganizationFeatureListResult",
"\n",
"return",
"organizationFeature",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationFeature",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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("/organizations/%v/features/%v", organizationIdentity, organizationFeatureIdentity), 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("/organizations/%v/features/%v", organizationIdentity, organizationFeatureIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationFeatureUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationFeatureIdentity",
"string",
",",
"o",
"OrganizationFeatureUpdateOpts",
")",
"(",
"*",
"OrganizationFeature",
",",
"error",
")",
"{",
"var",
"organizationFeature",
"OrganizationFeature",
"\n",
"return",
"&",
"organizationFeature",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationFeature",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
",",
"organizationFeatureIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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/invitations", organizationIdentity), o)
}
|
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/invitations", organizationIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInvitationCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationInvitationCreateOpts",
")",
"(",
"*",
"OrganizationInvitation",
",",
"error",
")",
"{",
"var",
"organizationInvitation",
"OrganizationInvitation",
"\n",
"return",
"&",
"organizationInvitation",
",",
"s",
".",
"Put",
"(",
"ctx",
",",
"&",
"organizationInvitation",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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("/organizations/%v/invitations/%v", organizationIdentity, organizationInvitationIdentity))
}
|
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("/organizations/%v/invitations/%v", organizationIdentity, organizationInvitationIdentity))
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInvitationRevoke",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationInvitationIdentity",
"string",
")",
"(",
"*",
"OrganizationInvitation",
",",
"error",
")",
"{",
"var",
"organizationInvitation",
"OrganizationInvitation",
"\n",
"return",
"&",
"organizationInvitation",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"organizationInvitation",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
",",
"organizationInvitationIdentity",
")",
")",
"\n",
"}"
] |
// 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/invitations/%v/accept", organizationInvitationToken), nil)
}
|
go
|
func (s *Service) OrganizationInvitationAccept(ctx context.Context, organizationInvitationToken string) (*OrganizationInvitationAcceptResult, error) {
var organizationInvitation OrganizationInvitationAcceptResult
return &organizationInvitation, s.Post(ctx, &organizationInvitation, fmt.Sprintf("/organizations/invitations/%v/accept", organizationInvitationToken), nil)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationInvitationAccept",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationInvitationToken",
"string",
")",
"(",
"*",
"OrganizationInvitationAcceptResult",
",",
"error",
")",
"{",
"var",
"organizationInvitation",
"OrganizationInvitationAcceptResult",
"\n",
"return",
"&",
"organizationInvitation",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"organizationInvitation",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationInvitationToken",
")",
",",
"nil",
")",
"\n",
"}"
] |
// 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", organizationIdentity), o)
}
|
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", organizationIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberCreateOrUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationMemberCreateOrUpdateOpts",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"organizationMember",
"OrganizationMember",
"\n",
"return",
"&",
"organizationMember",
",",
"s",
".",
"Put",
"(",
"ctx",
",",
"&",
"organizationMember",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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", organizationIdentity), o)
}
|
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", organizationIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationMemberCreateOpts",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"organizationMember",
"OrganizationMember",
"\n",
"return",
"&",
"organizationMember",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"organizationMember",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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", organizationIdentity), o)
}
|
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", organizationIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"o",
"OrganizationMemberUpdateOpts",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"organizationMember",
"OrganizationMember",
"\n",
"return",
"&",
"organizationMember",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationMember",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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", organizationIdentity, organizationMemberIdentity))
}
|
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", organizationIdentity, organizationMemberIdentity))
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationMemberIdentity",
"string",
")",
"(",
"*",
"OrganizationMember",
",",
"error",
")",
"{",
"var",
"organizationMember",
"OrganizationMember",
"\n",
"return",
"&",
"organizationMember",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"organizationMember",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
",",
"organizationMemberIdentity",
")",
")",
"\n",
"}"
] |
// 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), nil, lr)
}
|
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), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationMemberListResult",
",",
"error",
")",
"{",
"var",
"organizationMember",
"OrganizationMemberListResult",
"\n",
"return",
"organizationMember",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationMember",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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("/organizations/%v/members/%v/apps", organizationIdentity, organizationMemberIdentity), nil, lr)
}
|
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("/organizations/%v/members/%v/apps", organizationIdentity, organizationMemberIdentity), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationMemberAppList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationIdentity",
"string",
",",
"organizationMemberIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationMemberAppListResult",
",",
"error",
")",
"{",
"var",
"organizationMember",
"OrganizationMemberAppListResult",
"\n",
"return",
"organizationMember",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationMember",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationIdentity",
",",
"organizationMemberIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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", organizationPreferencesIdentity), nil, nil)
}
|
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", organizationPreferencesIdentity), nil, nil)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationPreferencesList",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationPreferencesIdentity",
"string",
")",
"(",
"*",
"OrganizationPreferences",
",",
"error",
")",
"{",
"var",
"organizationPreferences",
"OrganizationPreferences",
"\n",
"return",
"&",
"organizationPreferences",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"organizationPreferences",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationPreferencesIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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("/organizations/%v/preferences", organizationPreferencesIdentity), o)
}
|
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("/organizations/%v/preferences", organizationPreferencesIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationPreferencesUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationPreferencesIdentity",
"string",
",",
"o",
"OrganizationPreferencesUpdateOpts",
")",
"(",
"*",
"OrganizationPreferences",
",",
"error",
")",
"{",
"var",
"organizationPreferences",
"OrganizationPreferences",
"\n",
"return",
"&",
"organizationPreferences",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"organizationPreferences",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"organizationPreferencesIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"&",
"outboundRuleset",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"outboundRuleset",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"OutboundRulesetListResult",
"\n",
"return",
"outboundRuleset",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"outboundRuleset",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"OutboundRuleset",
"\n",
"return",
"&",
"outboundRuleset",
",",
"s",
".",
"Put",
"(",
"ctx",
",",
"&",
"outboundRuleset",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"&",
"passwordReset",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"passwordReset",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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", passwordResetResetPasswordToken), o)
}
|
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", passwordResetResetPasswordToken), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"PasswordResetCompleteResetPassword",
"(",
"ctx",
"context",
".",
"Context",
",",
"passwordResetResetPasswordToken",
"string",
",",
"o",
"PasswordResetCompleteResetPasswordOpts",
")",
"(",
"*",
"PasswordReset",
",",
"error",
")",
"{",
"var",
"passwordReset",
"PasswordReset",
"\n",
"return",
"&",
"passwordReset",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"passwordReset",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"passwordResetResetPasswordToken",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"return",
"peering",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"peering",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"&",
"peering",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"peering",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
",",
"peeringPcxID",
")",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"&",
"peering",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"peering",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
",",
"peeringPcxID",
")",
")",
"\n",
"}"
] |
// 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",
"&",
"peering",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"peering",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
",",
"peeringPcxID",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"peeringInfo",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
".",
"Post",
"(",
"ctx",
",",
"&",
"pipeline",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipeline",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"pipeline",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineID",
")",
")",
"\n",
"}"
] |
// 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",
"&",
"pipeline",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"pipeline",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineID",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipeline",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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", pipelineID), nil, lr)
}
|
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", pipelineID), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"PipelineCouplingListByPipeline",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelineID",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelineCouplingListByPipelineResult",
",",
"error",
")",
"{",
"var",
"pipelineCoupling",
"PipelineCouplingListByPipelineResult",
"\n",
"return",
"pipelineCoupling",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineID",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"PipelineCouplingListForCurrentUserResult",
"\n",
"return",
"pipelineCoupling",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"return",
"pipelineCoupling",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"pipelineCoupling",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"pipelineCoupling",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineCouplingIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"pipelineCoupling",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineCouplingIdentity",
")",
")",
"\n",
"}"
] |
// 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",
"pipelineCoupling",
"PipelineCoupling",
"\n",
"return",
"&",
"pipelineCoupling",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelineCouplingIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"&",
"pipelineCoupling",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelineCoupling",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"pipelinePromotion",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"pipelinePromotion",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\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",
"return",
"&",
"pipelinePromotion",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelinePromotion",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelinePromotionIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\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-promotions/%v/promotion-targets", pipelinePromotionID), nil, lr)
}
|
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-promotions/%v/promotion-targets", pipelinePromotionID), nil, lr)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"PipelinePromotionTargetList",
"(",
"ctx",
"context",
".",
"Context",
",",
"pipelinePromotionID",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"PipelinePromotionTargetListResult",
",",
"error",
")",
"{",
"var",
"pipelinePromotionTarget",
"PipelinePromotionTargetListResult",
"\n",
"return",
"pipelinePromotionTarget",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"pipelinePromotionTarget",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"pipelinePromotionID",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"plan",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"planIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"PlanListByAddOnResult",
"\n",
"return",
"plan",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"plan",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"addOnServiceIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
".",
"Get",
"(",
"ctx",
",",
"&",
"region",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"regionIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
".",
"Get",
"(",
"ctx",
",",
"&",
"region",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"&",
"release",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"release",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"releaseIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"return",
"release",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"release",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"&",
"release",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"release",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"&",
"release",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"release",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"slug",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"slugIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"sniEndpoint",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"sniEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"o",
")",
"\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",
"\n",
"return",
"&",
"sniEndpoint",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"sniEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"sniEndpointIdentity",
")",
")",
"\n",
"}"
] |
// 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",
"\n",
"return",
"&",
"sniEndpoint",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"sniEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"sniEndpointIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"\n",
"return",
"sniEndpoint",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"sniEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
")",
"{",
"var",
"sniEndpoint",
"SniEndpoint",
"\n",
"return",
"&",
"sniEndpoint",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"sniEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"sniEndpointIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
",",
"&",
"source",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"space",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"space",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"&",
"space",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"space",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"space",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"space",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"SpaceAppAccess",
"\n",
"return",
"&",
"spaceAppAccess",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"spaceAppAccess",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
",",
"accountIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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), o)
}
|
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), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"SpaceAppAccessUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"accountIdentity",
"string",
",",
"o",
"SpaceAppAccessUpdateOpts",
")",
"(",
"*",
"SpaceAppAccess",
",",
"error",
")",
"{",
"var",
"spaceAppAccess",
"SpaceAppAccess",
"\n",
"return",
"&",
"spaceAppAccess",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"spaceAppAccess",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
",",
"accountIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"SpaceAppAccessListResult",
"\n",
"return",
"spaceAppAccess",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"spaceAppAccess",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
".",
"Get",
"(",
"ctx",
",",
"&",
"spaceNAT",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"spaceIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"sslEndpoint",
",",
"s",
".",
"Post",
"(",
"ctx",
",",
"&",
"sslEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"o",
")",
"\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",
"\n",
"return",
"&",
"sslEndpoint",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"sslEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"sslEndpointIdentity",
")",
")",
"\n",
"}"
] |
// 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",
"\n",
"return",
"&",
"sslEndpoint",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"sslEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"sslEndpointIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"\n",
"return",
"sslEndpoint",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"sslEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
")",
"{",
"var",
"sslEndpoint",
"SSLEndpoint",
"\n",
"return",
"&",
"sslEndpoint",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"sslEndpoint",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"appIdentity",
",",
"sslEndpointIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"stack",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"stackIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"stack",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"team",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"team",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"team",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"team",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"(",
"ctx",
",",
"&",
"team",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamIdentity",
")",
")",
"\n",
"}"
] |
// 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",
".",
"Post",
"(",
"ctx",
",",
"&",
"teamApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
".",
"Get",
"(",
"ctx",
",",
"&",
"teamApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"teamApp",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"teamApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
")",
",",
"o",
")",
"\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",
"\n",
"return",
"&",
"teamApp",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"teamApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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",
"return",
"&",
"teamApp",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"teamApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
")",
",",
"o",
")",
"\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",
"TeamAppListByTeamResult",
"\n",
"return",
"teamApp",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"teamApp",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamIdentity",
")",
",",
"nil",
",",
"lr",
")",
"\n",
"}"
] |
// 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", teamAppIdentity, teamAppCollaboratorIdentity))
}
|
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", teamAppIdentity, teamAppCollaboratorIdentity))
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCollaboratorDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"teamAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"TeamAppCollaborator",
",",
"error",
")",
"{",
"var",
"teamAppCollaborator",
"TeamAppCollaborator",
"\n",
"return",
"&",
"teamAppCollaborator",
",",
"s",
".",
"Delete",
"(",
"ctx",
",",
"&",
"teamAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
",",
"teamAppCollaboratorIdentity",
")",
")",
"\n",
"}"
] |
// 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", teamAppIdentity, teamAppCollaboratorIdentity), nil, nil)
}
|
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", teamAppIdentity, teamAppCollaboratorIdentity), nil, nil)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCollaboratorInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"teamAppCollaboratorIdentity",
"string",
")",
"(",
"*",
"TeamAppCollaborator",
",",
"error",
")",
"{",
"var",
"teamAppCollaborator",
"TeamAppCollaborator",
"\n",
"return",
"&",
"teamAppCollaborator",
",",
"s",
".",
"Get",
"(",
"ctx",
",",
"&",
"teamAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
",",
"teamAppCollaboratorIdentity",
")",
",",
"nil",
",",
"nil",
")",
"\n",
"}"
] |
// 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/apps/%v/collaborators/%v", teamAppIdentity, teamAppCollaboratorIdentity), o)
}
|
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/apps/%v/collaborators/%v", teamAppIdentity, teamAppCollaboratorIdentity), o)
}
|
[
"func",
"(",
"s",
"*",
"Service",
")",
"TeamAppCollaboratorUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamAppIdentity",
"string",
",",
"teamAppCollaboratorIdentity",
"string",
",",
"o",
"TeamAppCollaboratorUpdateOpts",
")",
"(",
"*",
"TeamAppCollaborator",
",",
"error",
")",
"{",
"var",
"teamAppCollaborator",
"TeamAppCollaborator",
"\n",
"return",
"&",
"teamAppCollaborator",
",",
"s",
".",
"Patch",
"(",
"ctx",
",",
"&",
"teamAppCollaborator",
",",
"fmt",
".",
"Sprintf",
"(",
"\"",
"\"",
",",
"teamAppIdentity",
",",
"teamAppCollaboratorIdentity",
")",
",",
"o",
")",
"\n",
"}"
] |
// 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.