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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
19,900 | heroku/heroku-go | v3/heroku.go | AddOnWebhookList | func (s *Service) AddOnWebhookList(ctx context.Context, addOnIdentity string, lr *ListRange) (AddOnWebhookListResult, error) {
var addOnWebhook AddOnWebhookListResult
return addOnWebhook, s.Get(ctx, &addOnWebhook, fmt.Sprintf("/addons/%v/webhooks", addOnIdentity), nil, lr)
} | go | func (s *Service) AddOnWebhookList(ctx context.Context, addOnIdentity string, lr *ListRange) (AddOnWebhookListResult, error) {
var addOnWebhook AddOnWebhookListResult
return addOnWebhook, s.Get(ctx, &addOnWebhook, fmt.Sprintf("/addons/%v/webhooks", addOnIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AddOnWebhookList",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AddOnWebhookListResult",
",",
"error",
")",
"{",
"var",
"addOnWebhook",
"AddOnWebhookListR... | // List all webhook subscriptions for a particular add-on. Can only be
// accessed by the add-on partner providing this add-on. | [
"List",
"all",
"webhook",
"subscriptions",
"for",
"a",
"particular",
"add",
"-",
"on",
".",
"Can",
"only",
"be",
"accessed",
"by",
"the",
"add",
"-",
"on",
"partner",
"providing",
"this",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L874-L877 |
19,901 | heroku/heroku-go | v3/heroku.go | AddOnWebhookUpdate | func (s *Service) AddOnWebhookUpdate(ctx context.Context, addOnIdentity string, appWebhookIdentity string, o AddOnWebhookUpdateOpts) (*AddOnWebhookUpdateResult, error) {
var addOnWebhook AddOnWebhookUpdateResult
return &addOnWebhook, s.Patch(ctx, &addOnWebhook, fmt.Sprintf("/addons/%v/webhooks/%v", addOnIdentity, app... | go | func (s *Service) AddOnWebhookUpdate(ctx context.Context, addOnIdentity string, appWebhookIdentity string, o AddOnWebhookUpdateOpts) (*AddOnWebhookUpdateResult, error) {
var addOnWebhook AddOnWebhookUpdateResult
return &addOnWebhook, s.Patch(ctx, &addOnWebhook, fmt.Sprintf("/addons/%v/webhooks/%v", addOnIdentity, app... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AddOnWebhookUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"appWebhookIdentity",
"string",
",",
"o",
"AddOnWebhookUpdateOpts",
")",
"(",
"*",
"AddOnWebhookUpdateResult",
",",
"error",
... | // Updates the details of an add-on webhook subscription. Can only be
// accessed by the add-on partner providing this add-on. | [
"Updates",
"the",
"details",
"of",
"an",
"add",
"-",
"on",
"webhook",
"subscription",
".",
"Can",
"only",
"be",
"accessed",
"by",
"the",
"add",
"-",
"on",
"partner",
"providing",
"this",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L908-L911 |
19,902 | heroku/heroku-go | v3/heroku.go | AddOnWebhookDeliveryInfo | func (s *Service) AddOnWebhookDeliveryInfo(ctx context.Context, addOnIdentity string, appWebhookDeliveryIdentity string) (*AddOnWebhookDeliveryInfoResult, error) {
var addOnWebhookDelivery AddOnWebhookDeliveryInfoResult
return &addOnWebhookDelivery, s.Get(ctx, &addOnWebhookDelivery, fmt.Sprintf("/addons/%v/webhook-de... | go | func (s *Service) AddOnWebhookDeliveryInfo(ctx context.Context, addOnIdentity string, appWebhookDeliveryIdentity string) (*AddOnWebhookDeliveryInfoResult, error) {
var addOnWebhookDelivery AddOnWebhookDeliveryInfoResult
return &addOnWebhookDelivery, s.Get(ctx, &addOnWebhookDelivery, fmt.Sprintf("/addons/%v/webhook-de... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AddOnWebhookDeliveryInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"appWebhookDeliveryIdentity",
"string",
")",
"(",
"*",
"AddOnWebhookDeliveryInfoResult",
",",
"error",
")",
"{",
"var",
... | // Returns the info for an existing delivery. Can only be accessed by
// the add-on partner providing this add-on. | [
"Returns",
"the",
"info",
"for",
"an",
"existing",
"delivery",
".",
"Can",
"only",
"be",
"accessed",
"by",
"the",
"add",
"-",
"on",
"partner",
"providing",
"this",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L945-L948 |
19,903 | heroku/heroku-go | v3/heroku.go | AddOnWebhookDeliveryList | func (s *Service) AddOnWebhookDeliveryList(ctx context.Context, addOnIdentity string, lr *ListRange) (AddOnWebhookDeliveryListResult, error) {
var addOnWebhookDelivery AddOnWebhookDeliveryListResult
return addOnWebhookDelivery, s.Get(ctx, &addOnWebhookDelivery, fmt.Sprintf("/addons/%v/webhook-deliveries", addOnIdenti... | go | func (s *Service) AddOnWebhookDeliveryList(ctx context.Context, addOnIdentity string, lr *ListRange) (AddOnWebhookDeliveryListResult, error) {
var addOnWebhookDelivery AddOnWebhookDeliveryListResult
return addOnWebhookDelivery, s.Get(ctx, &addOnWebhookDelivery, fmt.Sprintf("/addons/%v/webhook-deliveries", addOnIdenti... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AddOnWebhookDeliveryList",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AddOnWebhookDeliveryListResult",
",",
"error",
")",
"{",
"var",
"addOnWebhookDeliver... | // Lists existing deliveries for an add-on. Can only be accessed by the
// add-on partner providing this add-on. | [
"Lists",
"existing",
"deliveries",
"for",
"an",
"add",
"-",
"on",
".",
"Can",
"only",
"be",
"accessed",
"by",
"the",
"add",
"-",
"on",
"partner",
"providing",
"this",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L979-L982 |
19,904 | heroku/heroku-go | v3/heroku.go | AddOnWebhookEventInfo | func (s *Service) AddOnWebhookEventInfo(ctx context.Context, addOnIdentity string, appWebhookEventIdentity string) (*AddOnWebhookEventInfoResult, error) {
var addOnWebhookEvent AddOnWebhookEventInfoResult
return &addOnWebhookEvent, s.Get(ctx, &addOnWebhookEvent, fmt.Sprintf("/addons/%v/webhook-events/%v", addOnIdenti... | go | func (s *Service) AddOnWebhookEventInfo(ctx context.Context, addOnIdentity string, appWebhookEventIdentity string) (*AddOnWebhookEventInfoResult, error) {
var addOnWebhookEvent AddOnWebhookEventInfoResult
return &addOnWebhookEvent, s.Get(ctx, &addOnWebhookEvent, fmt.Sprintf("/addons/%v/webhook-events/%v", addOnIdenti... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AddOnWebhookEventInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"appWebhookEventIdentity",
"string",
")",
"(",
"*",
"AddOnWebhookEventInfoResult",
",",
"error",
")",
"{",
"var",
"addOnWe... | // Returns the info for a specified webhook event. Can only be accessed
// by the add-on partner providing this add-on. | [
"Returns",
"the",
"info",
"for",
"a",
"specified",
"webhook",
"event",
".",
"Can",
"only",
"be",
"accessed",
"by",
"the",
"add",
"-",
"on",
"partner",
"providing",
"this",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1006-L1009 |
19,905 | heroku/heroku-go | v3/heroku.go | AddOnWebhookEventList | func (s *Service) AddOnWebhookEventList(ctx context.Context, addOnIdentity string, lr *ListRange) (AddOnWebhookEventListResult, error) {
var addOnWebhookEvent AddOnWebhookEventListResult
return addOnWebhookEvent, s.Get(ctx, &addOnWebhookEvent, fmt.Sprintf("/addons/%v/webhook-events", addOnIdentity), nil, lr)
} | go | func (s *Service) AddOnWebhookEventList(ctx context.Context, addOnIdentity string, lr *ListRange) (AddOnWebhookEventListResult, error) {
var addOnWebhookEvent AddOnWebhookEventListResult
return addOnWebhookEvent, s.Get(ctx, &addOnWebhookEvent, fmt.Sprintf("/addons/%v/webhook-events", addOnIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AddOnWebhookEventList",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AddOnWebhookEventListResult",
",",
"error",
")",
"{",
"var",
"addOnWebhookEvent",
"Ad... | // Lists existing webhook events for an add-on. Can only be accessed by
// the add-on partner providing this add-on. | [
"Lists",
"existing",
"webhook",
"events",
"for",
"an",
"add",
"-",
"on",
".",
"Can",
"only",
"be",
"accessed",
"by",
"the",
"add",
"-",
"on",
"partner",
"providing",
"this",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1031-L1034 |
19,906 | heroku/heroku-go | v3/heroku.go | AppCreate | func (s *Service) AppCreate(ctx context.Context, o AppCreateOpts) (*App, error) {
var app App
return &app, s.Post(ctx, &app, fmt.Sprintf("/apps"), o)
} | go | func (s *Service) AppCreate(ctx context.Context, o AppCreateOpts) (*App, error) {
var app App
return &app, s.Post(ctx, &app, fmt.Sprintf("/apps"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"AppCreateOpts",
")",
"(",
"*",
"App",
",",
"error",
")",
"{",
"var",
"app",
"App",
"\n",
"return",
"&",
"app",
",",
"s",
".",
"Post",
"(",
"ctx"... | // Create a new app. | [
"Create",
"a",
"new",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1090-L1093 |
19,907 | heroku/heroku-go | v3/heroku.go | AppInfo | func (s *Service) AppInfo(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Get(ctx, &app, fmt.Sprintf("/apps/%v", appIdentity), nil, nil)
} | go | func (s *Service) AppInfo(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Get(ctx, &app, fmt.Sprintf("/apps/%v", appIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"*",
"App",
",",
"error",
")",
"{",
"var",
"app",
"App",
"\n",
"return",
"&",
"app",
",",
"s",
".",
"Get",
"(",
"ctx"... | // Info for existing app. | [
"Info",
"for",
"existing",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1102-L1105 |
19,908 | heroku/heroku-go | v3/heroku.go | AppList | func (s *Service) AppList(ctx context.Context, lr *ListRange) (AppListResult, error) {
var app AppListResult
return app, s.Get(ctx, &app, fmt.Sprintf("/apps"), nil, lr)
} | go | func (s *Service) AppList(ctx context.Context, lr *ListRange) (AppListResult, error) {
var app AppListResult
return app, s.Get(ctx, &app, fmt.Sprintf("/apps"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AppListResult",
",",
"error",
")",
"{",
"var",
"app",
"AppListResult",
"\n",
"return",
"app",
",",
"s",
".",
"Get",
"(",
... | // List existing apps. | [
"List",
"existing",
"apps",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1110-L1113 |
19,909 | heroku/heroku-go | v3/heroku.go | AppUpdate | func (s *Service) AppUpdate(ctx context.Context, appIdentity string, o AppUpdateOpts) (*App, error) {
var app App
return &app, s.Patch(ctx, &app, fmt.Sprintf("/apps/%v", appIdentity), o)
} | go | func (s *Service) AppUpdate(ctx context.Context, appIdentity string, o AppUpdateOpts) (*App, error) {
var app App
return &app, s.Patch(ctx, &app, fmt.Sprintf("/apps/%v", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"AppUpdateOpts",
")",
"(",
"*",
"App",
",",
"error",
")",
"{",
"var",
"app",
"App",
"\n",
"return",
"&",
"app",
",",
... | // Update an existing app. | [
"Update",
"an",
"existing",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1130-L1133 |
19,910 | heroku/heroku-go | v3/heroku.go | AppEnableACM | func (s *Service) AppEnableACM(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Post(ctx, &app, fmt.Sprintf("/apps/%v/acm", appIdentity), nil)
} | go | func (s *Service) AppEnableACM(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Post(ctx, &app, fmt.Sprintf("/apps/%v/acm", appIdentity), nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppEnableACM",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"*",
"App",
",",
"error",
")",
"{",
"var",
"app",
"App",
"\n",
"return",
"&",
"app",
",",
"s",
".",
"Post",
"(",
... | // Enable ACM flag for an app | [
"Enable",
"ACM",
"flag",
"for",
"an",
"app"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1136-L1139 |
19,911 | heroku/heroku-go | v3/heroku.go | AppDisableACM | func (s *Service) AppDisableACM(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Delete(ctx, &app, fmt.Sprintf("/apps/%v/acm", appIdentity))
} | go | func (s *Service) AppDisableACM(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Delete(ctx, &app, fmt.Sprintf("/apps/%v/acm", appIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppDisableACM",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"*",
"App",
",",
"error",
")",
"{",
"var",
"app",
"App",
"\n",
"return",
"&",
"app",
",",
"s",
".",
"Delete",
"("... | // Disable ACM flag for an app | [
"Disable",
"ACM",
"flag",
"for",
"an",
"app"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1142-L1145 |
19,912 | heroku/heroku-go | v3/heroku.go | AppRefreshACM | func (s *Service) AppRefreshACM(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Patch(ctx, &app, fmt.Sprintf("/apps/%v/acm", appIdentity), nil)
} | go | func (s *Service) AppRefreshACM(ctx context.Context, appIdentity string) (*App, error) {
var app App
return &app, s.Patch(ctx, &app, fmt.Sprintf("/apps/%v/acm", appIdentity), nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppRefreshACM",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"*",
"App",
",",
"error",
")",
"{",
"var",
"app",
"App",
"\n",
"return",
"&",
"app",
",",
"s",
".",
"Patch",
"(",... | // Refresh ACM for an app | [
"Refresh",
"ACM",
"for",
"an",
"app"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1148-L1151 |
19,913 | heroku/heroku-go | v3/heroku.go | AppFeatureInfo | func (s *Service) AppFeatureInfo(ctx context.Context, appIdentity string, appFeatureIdentity string) (*AppFeature, error) {
var appFeature AppFeature
return &appFeature, s.Get(ctx, &appFeature, fmt.Sprintf("/apps/%v/features/%v", appIdentity, appFeatureIdentity), nil, nil)
} | go | func (s *Service) AppFeatureInfo(ctx context.Context, appIdentity string, appFeatureIdentity string) (*AppFeature, error) {
var appFeature AppFeature
return &appFeature, s.Get(ctx, &appFeature, fmt.Sprintf("/apps/%v/features/%v", appIdentity, appFeatureIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppFeatureInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appFeatureIdentity",
"string",
")",
"(",
"*",
"AppFeature",
",",
"error",
")",
"{",
"var",
"appFeature",
"AppFeature",
"\n",
... | // Info for an existing app feature. | [
"Info",
"for",
"an",
"existing",
"app",
"feature",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1169-L1172 |
19,914 | heroku/heroku-go | v3/heroku.go | AppFeatureList | func (s *Service) AppFeatureList(ctx context.Context, appIdentity string, lr *ListRange) (AppFeatureListResult, error) {
var appFeature AppFeatureListResult
return appFeature, s.Get(ctx, &appFeature, fmt.Sprintf("/apps/%v/features", appIdentity), nil, lr)
} | go | func (s *Service) AppFeatureList(ctx context.Context, appIdentity string, lr *ListRange) (AppFeatureListResult, error) {
var appFeature AppFeatureListResult
return appFeature, s.Get(ctx, &appFeature, fmt.Sprintf("/apps/%v/features", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppFeatureList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AppFeatureListResult",
",",
"error",
")",
"{",
"var",
"appFeature",
"AppFeatureListResult",
... | // List existing app features. | [
"List",
"existing",
"app",
"features",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1177-L1180 |
19,915 | heroku/heroku-go | v3/heroku.go | AppFeatureUpdate | func (s *Service) AppFeatureUpdate(ctx context.Context, appIdentity string, appFeatureIdentity string, o AppFeatureUpdateOpts) (*AppFeature, error) {
var appFeature AppFeature
return &appFeature, s.Patch(ctx, &appFeature, fmt.Sprintf("/apps/%v/features/%v", appIdentity, appFeatureIdentity), o)
} | go | func (s *Service) AppFeatureUpdate(ctx context.Context, appIdentity string, appFeatureIdentity string, o AppFeatureUpdateOpts) (*AppFeature, error) {
var appFeature AppFeature
return &appFeature, s.Patch(ctx, &appFeature, fmt.Sprintf("/apps/%v/features/%v", appIdentity, appFeatureIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppFeatureUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appFeatureIdentity",
"string",
",",
"o",
"AppFeatureUpdateOpts",
")",
"(",
"*",
"AppFeature",
",",
"error",
")",
"{",
"var",... | // Update an existing app feature. | [
"Update",
"an",
"existing",
"app",
"feature",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1187-L1190 |
19,916 | heroku/heroku-go | v3/heroku.go | AppSetupCreate | func (s *Service) AppSetupCreate(ctx context.Context, o AppSetupCreateOpts) (*AppSetup, error) {
var appSetup AppSetup
return &appSetup, s.Post(ctx, &appSetup, fmt.Sprintf("/app-setups"), o)
} | go | func (s *Service) AppSetupCreate(ctx context.Context, o AppSetupCreateOpts) (*AppSetup, error) {
var appSetup AppSetup
return &appSetup, s.Post(ctx, &appSetup, fmt.Sprintf("/app-setups"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppSetupCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"AppSetupCreateOpts",
")",
"(",
"*",
"AppSetup",
",",
"error",
")",
"{",
"var",
"appSetup",
"AppSetup",
"\n",
"return",
"&",
"appSetup",
",",
"s",
... | // Create a new app setup from a gzipped tar archive containing an
// app.json manifest file. | [
"Create",
"a",
"new",
"app",
"setup",
"from",
"a",
"gzipped",
"tar",
"archive",
"containing",
"an",
"app",
".",
"json",
"manifest",
"file",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1261-L1264 |
19,917 | heroku/heroku-go | v3/heroku.go | AppSetupInfo | func (s *Service) AppSetupInfo(ctx context.Context, appSetupIdentity string) (*AppSetup, error) {
var appSetup AppSetup
return &appSetup, s.Get(ctx, &appSetup, fmt.Sprintf("/app-setups/%v", appSetupIdentity), nil, nil)
} | go | func (s *Service) AppSetupInfo(ctx context.Context, appSetupIdentity string) (*AppSetup, error) {
var appSetup AppSetup
return &appSetup, s.Get(ctx, &appSetup, fmt.Sprintf("/app-setups/%v", appSetupIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppSetupInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appSetupIdentity",
"string",
")",
"(",
"*",
"AppSetup",
",",
"error",
")",
"{",
"var",
"appSetup",
"AppSetup",
"\n",
"return",
"&",
"appSetup",
",",
"s",
... | // Get the status of an app setup. | [
"Get",
"the",
"status",
"of",
"an",
"app",
"setup",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1267-L1270 |
19,918 | heroku/heroku-go | v3/heroku.go | AppTransferCreate | func (s *Service) AppTransferCreate(ctx context.Context, o AppTransferCreateOpts) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Post(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers"), o)
} | go | func (s *Service) AppTransferCreate(ctx context.Context, o AppTransferCreateOpts) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Post(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppTransferCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"AppTransferCreateOpts",
")",
"(",
"*",
"AppTransfer",
",",
"error",
")",
"{",
"var",
"appTransfer",
"AppTransfer",
"\n",
"return",
"&",
"appTransfer... | // Create a new app transfer. | [
"Create",
"a",
"new",
"app",
"transfer",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1299-L1302 |
19,919 | heroku/heroku-go | v3/heroku.go | AppTransferDelete | func (s *Service) AppTransferDelete(ctx context.Context, appTransferIdentity string) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Delete(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers/%v", appTransferIdentity))
} | go | func (s *Service) AppTransferDelete(ctx context.Context, appTransferIdentity string) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Delete(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers/%v", appTransferIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppTransferDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appTransferIdentity",
"string",
")",
"(",
"*",
"AppTransfer",
",",
"error",
")",
"{",
"var",
"appTransfer",
"AppTransfer",
"\n",
"return",
"&",
"appTrans... | // Delete an existing app transfer | [
"Delete",
"an",
"existing",
"app",
"transfer"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1305-L1308 |
19,920 | heroku/heroku-go | v3/heroku.go | AppTransferInfo | func (s *Service) AppTransferInfo(ctx context.Context, appTransferIdentity string) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Get(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers/%v", appTransferIdentity), nil, nil)
} | go | func (s *Service) AppTransferInfo(ctx context.Context, appTransferIdentity string) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Get(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers/%v", appTransferIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppTransferInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appTransferIdentity",
"string",
")",
"(",
"*",
"AppTransfer",
",",
"error",
")",
"{",
"var",
"appTransfer",
"AppTransfer",
"\n",
"return",
"&",
"appTransfe... | // Info for existing app transfer. | [
"Info",
"for",
"existing",
"app",
"transfer",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1311-L1314 |
19,921 | heroku/heroku-go | v3/heroku.go | AppTransferList | func (s *Service) AppTransferList(ctx context.Context, lr *ListRange) (AppTransferListResult, error) {
var appTransfer AppTransferListResult
return appTransfer, s.Get(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers"), nil, lr)
} | go | func (s *Service) AppTransferList(ctx context.Context, lr *ListRange) (AppTransferListResult, error) {
var appTransfer AppTransferListResult
return appTransfer, s.Get(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppTransferList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AppTransferListResult",
",",
"error",
")",
"{",
"var",
"appTransfer",
"AppTransferListResult",
"\n",
"return",
"appTransfer... | // List existing apps transfers. | [
"List",
"existing",
"apps",
"transfers",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1319-L1322 |
19,922 | heroku/heroku-go | v3/heroku.go | AppTransferUpdate | func (s *Service) AppTransferUpdate(ctx context.Context, appTransferIdentity string, o AppTransferUpdateOpts) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Patch(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers/%v", appTransferIdentity), o)
} | go | func (s *Service) AppTransferUpdate(ctx context.Context, appTransferIdentity string, o AppTransferUpdateOpts) (*AppTransfer, error) {
var appTransfer AppTransfer
return &appTransfer, s.Patch(ctx, &appTransfer, fmt.Sprintf("/account/app-transfers/%v", appTransferIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppTransferUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appTransferIdentity",
"string",
",",
"o",
"AppTransferUpdateOpts",
")",
"(",
"*",
"AppTransfer",
",",
"error",
")",
"{",
"var",
"appTransfer",
"AppTransfer... | // Update an existing app transfer. | [
"Update",
"an",
"existing",
"app",
"transfer",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1329-L1332 |
19,923 | heroku/heroku-go | v3/heroku.go | AppWebhookCreate | func (s *Service) AppWebhookCreate(ctx context.Context, appIdentity string, o AppWebhookCreateOpts) (*AppWebhookCreateResult, error) {
var appWebhook AppWebhookCreateResult
return &appWebhook, s.Post(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks", appIdentity), o)
} | go | func (s *Service) AppWebhookCreate(ctx context.Context, appIdentity string, o AppWebhookCreateOpts) (*AppWebhookCreateResult, error) {
var appWebhook AppWebhookCreateResult
return &appWebhook, s.Post(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"AppWebhookCreateOpts",
")",
"(",
"*",
"AppWebhookCreateResult",
",",
"error",
")",
"{",
"var",
"appWebhook",
"AppWebhookC... | // Create an app webhook subscription. | [
"Create",
"an",
"app",
"webhook",
"subscription",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1364-L1367 |
19,924 | heroku/heroku-go | v3/heroku.go | AppWebhookDelete | func (s *Service) AppWebhookDelete(ctx context.Context, appIdentity string, appWebhookIdentity string) (*AppWebhookDeleteResult, error) {
var appWebhook AppWebhookDeleteResult
return &appWebhook, s.Delete(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks/%v", appIdentity, appWebhookIdentity))
} | go | func (s *Service) AppWebhookDelete(ctx context.Context, appIdentity string, appWebhookIdentity string) (*AppWebhookDeleteResult, error) {
var appWebhook AppWebhookDeleteResult
return &appWebhook, s.Delete(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks/%v", appIdentity, appWebhookIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appWebhookIdentity",
"string",
")",
"(",
"*",
"AppWebhookDeleteResult",
",",
"error",
")",
"{",
"var",
"appWebhook",
"AppWebho... | // Removes an app webhook subscription. | [
"Removes",
"an",
"app",
"webhook",
"subscription",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1385-L1388 |
19,925 | heroku/heroku-go | v3/heroku.go | AppWebhookInfo | func (s *Service) AppWebhookInfo(ctx context.Context, appIdentity string, appWebhookIdentity string) (*AppWebhookInfoResult, error) {
var appWebhook AppWebhookInfoResult
return &appWebhook, s.Get(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks/%v", appIdentity, appWebhookIdentity), nil, nil)
} | go | func (s *Service) AppWebhookInfo(ctx context.Context, appIdentity string, appWebhookIdentity string) (*AppWebhookInfoResult, error) {
var appWebhook AppWebhookInfoResult
return &appWebhook, s.Get(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks/%v", appIdentity, appWebhookIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appWebhookIdentity",
"string",
")",
"(",
"*",
"AppWebhookInfoResult",
",",
"error",
")",
"{",
"var",
"appWebhook",
"AppWebhookIn... | // Returns the info for an app webhook subscription. | [
"Returns",
"the",
"info",
"for",
"an",
"app",
"webhook",
"subscription",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1406-L1409 |
19,926 | heroku/heroku-go | v3/heroku.go | AppWebhookList | func (s *Service) AppWebhookList(ctx context.Context, appIdentity string, lr *ListRange) (AppWebhookListResult, error) {
var appWebhook AppWebhookListResult
return appWebhook, s.Get(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks", appIdentity), nil, lr)
} | go | func (s *Service) AppWebhookList(ctx context.Context, appIdentity string, lr *ListRange) (AppWebhookListResult, error) {
var appWebhook AppWebhookListResult
return appWebhook, s.Get(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AppWebhookListResult",
",",
"error",
")",
"{",
"var",
"appWebhook",
"AppWebhookListResult",
... | // List all webhook subscriptions for a particular app. | [
"List",
"all",
"webhook",
"subscriptions",
"for",
"a",
"particular",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1427-L1430 |
19,927 | heroku/heroku-go | v3/heroku.go | AppWebhookUpdate | func (s *Service) AppWebhookUpdate(ctx context.Context, appIdentity string, appWebhookIdentity string, o AppWebhookUpdateOpts) (*AppWebhookUpdateResult, error) {
var appWebhook AppWebhookUpdateResult
return &appWebhook, s.Patch(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks/%v", appIdentity, appWebhookIdentity), o)... | go | func (s *Service) AppWebhookUpdate(ctx context.Context, appIdentity string, appWebhookIdentity string, o AppWebhookUpdateOpts) (*AppWebhookUpdateResult, error) {
var appWebhook AppWebhookUpdateResult
return &appWebhook, s.Patch(ctx, &appWebhook, fmt.Sprintf("/apps/%v/webhooks/%v", appIdentity, appWebhookIdentity), o)... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appWebhookIdentity",
"string",
",",
"o",
"AppWebhookUpdateOpts",
")",
"(",
"*",
"AppWebhookUpdateResult",
",",
"error",
")",
"... | // Updates the details of an app webhook subscription. | [
"Updates",
"the",
"details",
"of",
"an",
"app",
"webhook",
"subscription",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1460-L1463 |
19,928 | heroku/heroku-go | v3/heroku.go | AppWebhookDeliveryInfo | func (s *Service) AppWebhookDeliveryInfo(ctx context.Context, appIdentity string, appWebhookDeliveryIdentity string) (*AppWebhookDelivery, error) {
var appWebhookDelivery AppWebhookDelivery
return &appWebhookDelivery, s.Get(ctx, &appWebhookDelivery, fmt.Sprintf("/apps/%v/webhook-deliveries/%v", appIdentity, appWebhoo... | go | func (s *Service) AppWebhookDeliveryInfo(ctx context.Context, appIdentity string, appWebhookDeliveryIdentity string) (*AppWebhookDelivery, error) {
var appWebhookDelivery AppWebhookDelivery
return &appWebhookDelivery, s.Get(ctx, &appWebhookDelivery, fmt.Sprintf("/apps/%v/webhook-deliveries/%v", appIdentity, appWebhoo... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookDeliveryInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appWebhookDeliveryIdentity",
"string",
")",
"(",
"*",
"AppWebhookDelivery",
",",
"error",
")",
"{",
"var",
"appWebhookDeli... | // Returns the info for an existing delivery. | [
"Returns",
"the",
"info",
"for",
"an",
"existing",
"delivery",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1495-L1498 |
19,929 | heroku/heroku-go | v3/heroku.go | AppWebhookDeliveryList | func (s *Service) AppWebhookDeliveryList(ctx context.Context, appIdentity string, lr *ListRange) (AppWebhookDeliveryListResult, error) {
var appWebhookDelivery AppWebhookDeliveryListResult
return appWebhookDelivery, s.Get(ctx, &appWebhookDelivery, fmt.Sprintf("/apps/%v/webhook-deliveries", appIdentity), nil, lr)
} | go | func (s *Service) AppWebhookDeliveryList(ctx context.Context, appIdentity string, lr *ListRange) (AppWebhookDeliveryListResult, error) {
var appWebhookDelivery AppWebhookDeliveryListResult
return appWebhookDelivery, s.Get(ctx, &appWebhookDelivery, fmt.Sprintf("/apps/%v/webhook-deliveries", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookDeliveryList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AppWebhookDeliveryListResult",
",",
"error",
")",
"{",
"var",
"appWebhookDelivery",
"A... | // Lists existing deliveries for an app. | [
"Lists",
"existing",
"deliveries",
"for",
"an",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1503-L1506 |
19,930 | heroku/heroku-go | v3/heroku.go | AppWebhookEventInfo | func (s *Service) AppWebhookEventInfo(ctx context.Context, appIdentity string, appWebhookEventIdentity string) (*AppWebhookEvent, error) {
var appWebhookEvent AppWebhookEvent
return &appWebhookEvent, s.Get(ctx, &appWebhookEvent, fmt.Sprintf("/apps/%v/webhook-events/%v", appIdentity, appWebhookEventIdentity), nil, nil... | go | func (s *Service) AppWebhookEventInfo(ctx context.Context, appIdentity string, appWebhookEventIdentity string) (*AppWebhookEvent, error) {
var appWebhookEvent AppWebhookEvent
return &appWebhookEvent, s.Get(ctx, &appWebhookEvent, fmt.Sprintf("/apps/%v/webhook-events/%v", appIdentity, appWebhookEventIdentity), nil, nil... | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookEventInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"appWebhookEventIdentity",
"string",
")",
"(",
"*",
"AppWebhookEvent",
",",
"error",
")",
"{",
"var",
"appWebhookEvent",
"Ap... | // Returns the info for a specified webhook event. | [
"Returns",
"the",
"info",
"for",
"a",
"specified",
"webhook",
"event",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1528-L1531 |
19,931 | heroku/heroku-go | v3/heroku.go | AppWebhookEventList | func (s *Service) AppWebhookEventList(ctx context.Context, appIdentity string, lr *ListRange) (AppWebhookEventListResult, error) {
var appWebhookEvent AppWebhookEventListResult
return appWebhookEvent, s.Get(ctx, &appWebhookEvent, fmt.Sprintf("/apps/%v/webhook-events", appIdentity), nil, lr)
} | go | func (s *Service) AppWebhookEventList(ctx context.Context, appIdentity string, lr *ListRange) (AppWebhookEventListResult, error) {
var appWebhookEvent AppWebhookEventListResult
return appWebhookEvent, s.Get(ctx, &appWebhookEvent, fmt.Sprintf("/apps/%v/webhook-events", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"AppWebhookEventList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"AppWebhookEventListResult",
",",
"error",
")",
"{",
"var",
"appWebhookEvent",
"AppWebhook... | // Lists existing webhook events for an app. | [
"Lists",
"existing",
"webhook",
"events",
"for",
"an",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1536-L1539 |
19,932 | heroku/heroku-go | v3/heroku.go | BuildCreate | func (s *Service) BuildCreate(ctx context.Context, appIdentity string, o BuildCreateOpts) (*Build, error) {
var build Build
return &build, s.Post(ctx, &build, fmt.Sprintf("/apps/%v/builds", appIdentity), o)
} | go | func (s *Service) BuildCreate(ctx context.Context, appIdentity string, o BuildCreateOpts) (*Build, error) {
var build Build
return &build, s.Post(ctx, &build, fmt.Sprintf("/apps/%v/builds", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"BuildCreateOpts",
")",
"(",
"*",
"Build",
",",
"error",
")",
"{",
"var",
"build",
"Build",
"\n",
"return",
"&",
"build... | // Create a new build. | [
"Create",
"a",
"new",
"build",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1594-L1597 |
19,933 | heroku/heroku-go | v3/heroku.go | BuildInfo | func (s *Service) BuildInfo(ctx context.Context, appIdentity string, buildIdentity string) (*Build, error) {
var build Build
return &build, s.Get(ctx, &build, fmt.Sprintf("/apps/%v/builds/%v", appIdentity, buildIdentity), nil, nil)
} | go | func (s *Service) BuildInfo(ctx context.Context, appIdentity string, buildIdentity string) (*Build, error) {
var build Build
return &build, s.Get(ctx, &build, fmt.Sprintf("/apps/%v/builds/%v", appIdentity, buildIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"buildIdentity",
"string",
")",
"(",
"*",
"Build",
",",
"error",
")",
"{",
"var",
"build",
"Build",
"\n",
"return",
"&",
"buil... | // Info for existing build. | [
"Info",
"for",
"existing",
"build",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1600-L1603 |
19,934 | heroku/heroku-go | v3/heroku.go | BuildList | func (s *Service) BuildList(ctx context.Context, appIdentity string, lr *ListRange) (BuildListResult, error) {
var build BuildListResult
return build, s.Get(ctx, &build, fmt.Sprintf("/apps/%v/builds", appIdentity), nil, lr)
} | go | func (s *Service) BuildList(ctx context.Context, appIdentity string, lr *ListRange) (BuildListResult, error) {
var build BuildListResult
return build, s.Get(ctx, &build, fmt.Sprintf("/apps/%v/builds", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"BuildListResult",
",",
"error",
")",
"{",
"var",
"build",
"BuildListResult",
"\n",
"return",
... | // List existing build. | [
"List",
"existing",
"build",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1608-L1611 |
19,935 | heroku/heroku-go | v3/heroku.go | BuildDeleteCache | func (s *Service) BuildDeleteCache(ctx context.Context, appIdentity string) (*Build, error) {
var build Build
return &build, s.Delete(ctx, &build, fmt.Sprintf("/apps/%v/build-cache", appIdentity))
} | go | func (s *Service) BuildDeleteCache(ctx context.Context, appIdentity string) (*Build, error) {
var build Build
return &build, s.Delete(ctx, &build, fmt.Sprintf("/apps/%v/build-cache", appIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildDeleteCache",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"*",
"Build",
",",
"error",
")",
"{",
"var",
"build",
"Build",
"\n",
"return",
"&",
"build",
",",
"s",
".",
"Del... | // Destroy a build cache. | [
"Destroy",
"a",
"build",
"cache",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1614-L1617 |
19,936 | heroku/heroku-go | v3/heroku.go | BuildResultInfo | func (s *Service) BuildResultInfo(ctx context.Context, appIdentity string, buildIdentity string) (*BuildResult, error) {
var buildResult BuildResult
return &buildResult, s.Get(ctx, &buildResult, fmt.Sprintf("/apps/%v/builds/%v/result", appIdentity, buildIdentity), nil, nil)
} | go | func (s *Service) BuildResultInfo(ctx context.Context, appIdentity string, buildIdentity string) (*BuildResult, error) {
var buildResult BuildResult
return &buildResult, s.Get(ctx, &buildResult, fmt.Sprintf("/apps/%v/builds/%v/result", appIdentity, buildIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildResultInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"buildIdentity",
"string",
")",
"(",
"*",
"BuildResult",
",",
"error",
")",
"{",
"var",
"buildResult",
"BuildResult",
"\n",
... | // Info for existing result. | [
"Info",
"for",
"existing",
"result",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1639-L1642 |
19,937 | heroku/heroku-go | v3/heroku.go | BuildpackInstallationUpdate | func (s *Service) BuildpackInstallationUpdate(ctx context.Context, appIdentity string, o BuildpackInstallationUpdateOpts) (BuildpackInstallationUpdateResult, error) {
var buildpackInstallation BuildpackInstallationUpdateResult
return buildpackInstallation, s.Put(ctx, &buildpackInstallation, fmt.Sprintf("/apps/%v/buil... | go | func (s *Service) BuildpackInstallationUpdate(ctx context.Context, appIdentity string, o BuildpackInstallationUpdateOpts) (BuildpackInstallationUpdateResult, error) {
var buildpackInstallation BuildpackInstallationUpdateResult
return buildpackInstallation, s.Put(ctx, &buildpackInstallation, fmt.Sprintf("/apps/%v/buil... | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildpackInstallationUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"BuildpackInstallationUpdateOpts",
")",
"(",
"BuildpackInstallationUpdateResult",
",",
"error",
")",
"{",
"var",
"b... | // Update an app's buildpack installations. | [
"Update",
"an",
"app",
"s",
"buildpack",
"installations",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1664-L1667 |
19,938 | heroku/heroku-go | v3/heroku.go | BuildpackInstallationList | func (s *Service) BuildpackInstallationList(ctx context.Context, appIdentity string, lr *ListRange) (BuildpackInstallationListResult, error) {
var buildpackInstallation BuildpackInstallationListResult
return buildpackInstallation, s.Get(ctx, &buildpackInstallation, fmt.Sprintf("/apps/%v/buildpack-installations", appI... | go | func (s *Service) BuildpackInstallationList(ctx context.Context, appIdentity string, lr *ListRange) (BuildpackInstallationListResult, error) {
var buildpackInstallation BuildpackInstallationListResult
return buildpackInstallation, s.Get(ctx, &buildpackInstallation, fmt.Sprintf("/apps/%v/buildpack-installations", appI... | [
"func",
"(",
"s",
"*",
"Service",
")",
"BuildpackInstallationList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"BuildpackInstallationListResult",
",",
"error",
")",
"{",
"var",
"buildpackInstallati... | // List an app's existing buildpack installations. | [
"List",
"an",
"app",
"s",
"existing",
"buildpack",
"installations",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1672-L1675 |
19,939 | heroku/heroku-go | v3/heroku.go | CollaboratorCreate | func (s *Service) CollaboratorCreate(ctx context.Context, appIdentity string, o CollaboratorCreateOpts) (*Collaborator, error) {
var collaborator Collaborator
return &collaborator, s.Post(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators", appIdentity), o)
} | go | func (s *Service) CollaboratorCreate(ctx context.Context, appIdentity string, o CollaboratorCreateOpts) (*Collaborator, error) {
var collaborator Collaborator
return &collaborator, s.Post(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CollaboratorCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"CollaboratorCreateOpts",
")",
"(",
"*",
"Collaborator",
",",
"error",
")",
"{",
"var",
"collaborator",
"Collaborator",
... | // Create a new collaborator. | [
"Create",
"a",
"new",
"collaborator",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1704-L1707 |
19,940 | heroku/heroku-go | v3/heroku.go | CollaboratorDelete | func (s *Service) CollaboratorDelete(ctx context.Context, appIdentity string, collaboratorIdentity string) (*Collaborator, error) {
var collaborator Collaborator
return &collaborator, s.Delete(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators/%v", appIdentity, collaboratorIdentity))
} | go | func (s *Service) CollaboratorDelete(ctx context.Context, appIdentity string, collaboratorIdentity string) (*Collaborator, error) {
var collaborator Collaborator
return &collaborator, s.Delete(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators/%v", appIdentity, collaboratorIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CollaboratorDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"collaboratorIdentity",
"string",
")",
"(",
"*",
"Collaborator",
",",
"error",
")",
"{",
"var",
"collaborator",
"Collaborator... | // Delete an existing collaborator. | [
"Delete",
"an",
"existing",
"collaborator",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1710-L1713 |
19,941 | heroku/heroku-go | v3/heroku.go | CollaboratorInfo | func (s *Service) CollaboratorInfo(ctx context.Context, appIdentity string, collaboratorIdentity string) (*Collaborator, error) {
var collaborator Collaborator
return &collaborator, s.Get(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators/%v", appIdentity, collaboratorIdentity), nil, nil)
} | go | func (s *Service) CollaboratorInfo(ctx context.Context, appIdentity string, collaboratorIdentity string) (*Collaborator, error) {
var collaborator Collaborator
return &collaborator, s.Get(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators/%v", appIdentity, collaboratorIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CollaboratorInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"collaboratorIdentity",
"string",
")",
"(",
"*",
"Collaborator",
",",
"error",
")",
"{",
"var",
"collaborator",
"Collaborator",... | // Info for existing collaborator. | [
"Info",
"for",
"existing",
"collaborator",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1716-L1719 |
19,942 | heroku/heroku-go | v3/heroku.go | CollaboratorList | func (s *Service) CollaboratorList(ctx context.Context, appIdentity string, lr *ListRange) (CollaboratorListResult, error) {
var collaborator CollaboratorListResult
return collaborator, s.Get(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators", appIdentity), nil, lr)
} | go | func (s *Service) CollaboratorList(ctx context.Context, appIdentity string, lr *ListRange) (CollaboratorListResult, error) {
var collaborator CollaboratorListResult
return collaborator, s.Get(ctx, &collaborator, fmt.Sprintf("/apps/%v/collaborators", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CollaboratorList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"CollaboratorListResult",
",",
"error",
")",
"{",
"var",
"collaborator",
"CollaboratorListRes... | // List existing collaborators. | [
"List",
"existing",
"collaborators",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1724-L1727 |
19,943 | heroku/heroku-go | v3/heroku.go | ConfigVarInfoForApp | func (s *Service) ConfigVarInfoForApp(ctx context.Context, appIdentity string) (ConfigVarInfoForAppResult, error) {
var configVar ConfigVarInfoForAppResult
return configVar, s.Get(ctx, &configVar, fmt.Sprintf("/apps/%v/config-vars", appIdentity), nil, nil)
} | go | func (s *Service) ConfigVarInfoForApp(ctx context.Context, appIdentity string) (ConfigVarInfoForAppResult, error) {
var configVar ConfigVarInfoForAppResult
return configVar, s.Get(ctx, &configVar, fmt.Sprintf("/apps/%v/config-vars", appIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"ConfigVarInfoForApp",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"ConfigVarInfoForAppResult",
",",
"error",
")",
"{",
"var",
"configVar",
"ConfigVarInfoForAppResult",
"\n",
"return",
"co... | // Get config-vars for app. | [
"Get",
"config",
"-",
"vars",
"for",
"app",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1735-L1738 |
19,944 | heroku/heroku-go | v3/heroku.go | ConfigVarInfoForAppRelease | func (s *Service) ConfigVarInfoForAppRelease(ctx context.Context, appIdentity string, releaseIdentity string) (ConfigVarInfoForAppReleaseResult, error) {
var configVar ConfigVarInfoForAppReleaseResult
return configVar, s.Get(ctx, &configVar, fmt.Sprintf("/apps/%v/releases/%v/config-vars", appIdentity, releaseIdentity... | go | func (s *Service) ConfigVarInfoForAppRelease(ctx context.Context, appIdentity string, releaseIdentity string) (ConfigVarInfoForAppReleaseResult, error) {
var configVar ConfigVarInfoForAppReleaseResult
return configVar, s.Get(ctx, &configVar, fmt.Sprintf("/apps/%v/releases/%v/config-vars", appIdentity, releaseIdentity... | [
"func",
"(",
"s",
"*",
"Service",
")",
"ConfigVarInfoForAppRelease",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"releaseIdentity",
"string",
")",
"(",
"ConfigVarInfoForAppReleaseResult",
",",
"error",
")",
"{",
"var",
"configVar",
... | // Get config-vars for a release. | [
"Get",
"config",
"-",
"vars",
"for",
"a",
"release",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1743-L1746 |
19,945 | heroku/heroku-go | v3/heroku.go | ConfigVarUpdate | func (s *Service) ConfigVarUpdate(ctx context.Context, appIdentity string, o map[string]*string) (ConfigVarUpdateResult, error) {
var configVar ConfigVarUpdateResult
return configVar, s.Patch(ctx, &configVar, fmt.Sprintf("/apps/%v/config-vars", appIdentity), o)
} | go | func (s *Service) ConfigVarUpdate(ctx context.Context, appIdentity string, o map[string]*string) (ConfigVarUpdateResult, error) {
var configVar ConfigVarUpdateResult
return configVar, s.Patch(ctx, &configVar, fmt.Sprintf("/apps/%v/config-vars", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"ConfigVarUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"map",
"[",
"string",
"]",
"*",
"string",
")",
"(",
"ConfigVarUpdateResult",
",",
"error",
")",
"{",
"var",
"configVa... | // Update config-vars for app. You can update existing config-vars by
// setting them again, and remove by setting it to `null`. | [
"Update",
"config",
"-",
"vars",
"for",
"app",
".",
"You",
"can",
"update",
"existing",
"config",
"-",
"vars",
"by",
"setting",
"them",
"again",
"and",
"remove",
"by",
"setting",
"it",
"to",
"null",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1752-L1755 |
19,946 | heroku/heroku-go | v3/heroku.go | CreditCreate | func (s *Service) CreditCreate(ctx context.Context, o CreditCreateOpts) (*Credit, error) {
var credit Credit
return &credit, s.Post(ctx, &credit, fmt.Sprintf("/account/credits"), o)
} | go | func (s *Service) CreditCreate(ctx context.Context, o CreditCreateOpts) (*Credit, error) {
var credit Credit
return &credit, s.Post(ctx, &credit, fmt.Sprintf("/account/credits"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CreditCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"CreditCreateOpts",
")",
"(",
"*",
"Credit",
",",
"error",
")",
"{",
"var",
"credit",
"Credit",
"\n",
"return",
"&",
"credit",
",",
"s",
".",
"Pos... | // Create a new credit. | [
"Create",
"a",
"new",
"credit",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1774-L1777 |
19,947 | heroku/heroku-go | v3/heroku.go | CreditInfo | func (s *Service) CreditInfo(ctx context.Context, creditIdentity string) (*Credit, error) {
var credit Credit
return &credit, s.Get(ctx, &credit, fmt.Sprintf("/account/credits/%v", creditIdentity), nil, nil)
} | go | func (s *Service) CreditInfo(ctx context.Context, creditIdentity string) (*Credit, error) {
var credit Credit
return &credit, s.Get(ctx, &credit, fmt.Sprintf("/account/credits/%v", creditIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CreditInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"creditIdentity",
"string",
")",
"(",
"*",
"Credit",
",",
"error",
")",
"{",
"var",
"credit",
"Credit",
"\n",
"return",
"&",
"credit",
",",
"s",
".",
"Ge... | // Info for existing credit. | [
"Info",
"for",
"existing",
"credit",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1780-L1783 |
19,948 | heroku/heroku-go | v3/heroku.go | CreditList | func (s *Service) CreditList(ctx context.Context, lr *ListRange) (CreditListResult, error) {
var credit CreditListResult
return credit, s.Get(ctx, &credit, fmt.Sprintf("/account/credits"), nil, lr)
} | go | func (s *Service) CreditList(ctx context.Context, lr *ListRange) (CreditListResult, error) {
var credit CreditListResult
return credit, s.Get(ctx, &credit, fmt.Sprintf("/account/credits"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"CreditList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"CreditListResult",
",",
"error",
")",
"{",
"var",
"credit",
"CreditListResult",
"\n",
"return",
"credit",
",",
"s",
".",
... | // List existing credits. | [
"List",
"existing",
"credits",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1788-L1791 |
19,949 | heroku/heroku-go | v3/heroku.go | DomainCreate | func (s *Service) DomainCreate(ctx context.Context, appIdentity string, o DomainCreateOpts) (*Domain, error) {
var domain Domain
return &domain, s.Post(ctx, &domain, fmt.Sprintf("/apps/%v/domains", appIdentity), o)
} | go | func (s *Service) DomainCreate(ctx context.Context, appIdentity string, o DomainCreateOpts) (*Domain, error) {
var domain Domain
return &domain, s.Post(ctx, &domain, fmt.Sprintf("/apps/%v/domains", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DomainCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"DomainCreateOpts",
")",
"(",
"*",
"Domain",
",",
"error",
")",
"{",
"var",
"domain",
"Domain",
"\n",
"return",
"&",
"... | // Create a new domain. | [
"Create",
"a",
"new",
"domain",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1814-L1817 |
19,950 | heroku/heroku-go | v3/heroku.go | DomainDelete | func (s *Service) DomainDelete(ctx context.Context, appIdentity string, domainIdentity string) (*Domain, error) {
var domain Domain
return &domain, s.Delete(ctx, &domain, fmt.Sprintf("/apps/%v/domains/%v", appIdentity, domainIdentity))
} | go | func (s *Service) DomainDelete(ctx context.Context, appIdentity string, domainIdentity string) (*Domain, error) {
var domain Domain
return &domain, s.Delete(ctx, &domain, fmt.Sprintf("/apps/%v/domains/%v", appIdentity, domainIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DomainDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"domainIdentity",
"string",
")",
"(",
"*",
"Domain",
",",
"error",
")",
"{",
"var",
"domain",
"Domain",
"\n",
"return",
"&",
... | // Delete an existing domain | [
"Delete",
"an",
"existing",
"domain"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1820-L1823 |
19,951 | heroku/heroku-go | v3/heroku.go | DomainInfo | func (s *Service) DomainInfo(ctx context.Context, appIdentity string, domainIdentity string) (*Domain, error) {
var domain Domain
return &domain, s.Get(ctx, &domain, fmt.Sprintf("/apps/%v/domains/%v", appIdentity, domainIdentity), nil, nil)
} | go | func (s *Service) DomainInfo(ctx context.Context, appIdentity string, domainIdentity string) (*Domain, error) {
var domain Domain
return &domain, s.Get(ctx, &domain, fmt.Sprintf("/apps/%v/domains/%v", appIdentity, domainIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DomainInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"domainIdentity",
"string",
")",
"(",
"*",
"Domain",
",",
"error",
")",
"{",
"var",
"domain",
"Domain",
"\n",
"return",
"&",
... | // Info for existing domain. | [
"Info",
"for",
"existing",
"domain",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1826-L1829 |
19,952 | heroku/heroku-go | v3/heroku.go | DomainList | func (s *Service) DomainList(ctx context.Context, appIdentity string, lr *ListRange) (DomainListResult, error) {
var domain DomainListResult
return domain, s.Get(ctx, &domain, fmt.Sprintf("/apps/%v/domains", appIdentity), nil, lr)
} | go | func (s *Service) DomainList(ctx context.Context, appIdentity string, lr *ListRange) (DomainListResult, error) {
var domain DomainListResult
return domain, s.Get(ctx, &domain, fmt.Sprintf("/apps/%v/domains", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DomainList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"DomainListResult",
",",
"error",
")",
"{",
"var",
"domain",
"DomainListResult",
"\n",
"return"... | // List existing domains. | [
"List",
"existing",
"domains",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1834-L1837 |
19,953 | heroku/heroku-go | v3/heroku.go | DynoCreate | func (s *Service) DynoCreate(ctx context.Context, appIdentity string, o DynoCreateOpts) (*Dyno, error) {
var dyno Dyno
return &dyno, s.Post(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos", appIdentity), o)
} | go | func (s *Service) DynoCreate(ctx context.Context, appIdentity string, o DynoCreateOpts) (*Dyno, error) {
var dyno Dyno
return &dyno, s.Post(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"DynoCreateOpts",
")",
"(",
"*",
"Dyno",
",",
"error",
")",
"{",
"var",
"dyno",
"Dyno",
"\n",
"return",
"&",
"dyno",
"... | // Create a new dyno. | [
"Create",
"a",
"new",
"dyno",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1875-L1878 |
19,954 | heroku/heroku-go | v3/heroku.go | DynoRestart | func (s *Service) DynoRestart(ctx context.Context, appIdentity string, dynoIdentity string) (DynoRestartResult, error) {
var dyno DynoRestartResult
return dyno, s.Delete(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos/%v", appIdentity, dynoIdentity))
} | go | func (s *Service) DynoRestart(ctx context.Context, appIdentity string, dynoIdentity string) (DynoRestartResult, error) {
var dyno DynoRestartResult
return dyno, s.Delete(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos/%v", appIdentity, dynoIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoRestart",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"dynoIdentity",
"string",
")",
"(",
"DynoRestartResult",
",",
"error",
")",
"{",
"var",
"dyno",
"DynoRestartResult",
"\n",
"return... | // Restart dyno. | [
"Restart",
"dyno",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1883-L1886 |
19,955 | heroku/heroku-go | v3/heroku.go | DynoRestartAll | func (s *Service) DynoRestartAll(ctx context.Context, appIdentity string) (DynoRestartAllResult, error) {
var dyno DynoRestartAllResult
return dyno, s.Delete(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos", appIdentity))
} | go | func (s *Service) DynoRestartAll(ctx context.Context, appIdentity string) (DynoRestartAllResult, error) {
var dyno DynoRestartAllResult
return dyno, s.Delete(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos", appIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoRestartAll",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
")",
"(",
"DynoRestartAllResult",
",",
"error",
")",
"{",
"var",
"dyno",
"DynoRestartAllResult",
"\n",
"return",
"dyno",
",",
"s",
... | // Restart all dynos. | [
"Restart",
"all",
"dynos",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1891-L1894 |
19,956 | heroku/heroku-go | v3/heroku.go | DynoStop | func (s *Service) DynoStop(ctx context.Context, appIdentity string, dynoIdentity string) (DynoStopResult, error) {
var dyno DynoStopResult
return dyno, s.Post(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos/%v/actions/stop", appIdentity, dynoIdentity), nil)
} | go | func (s *Service) DynoStop(ctx context.Context, appIdentity string, dynoIdentity string) (DynoStopResult, error) {
var dyno DynoStopResult
return dyno, s.Post(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos/%v/actions/stop", appIdentity, dynoIdentity), nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoStop",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"dynoIdentity",
"string",
")",
"(",
"DynoStopResult",
",",
"error",
")",
"{",
"var",
"dyno",
"DynoStopResult",
"\n",
"return",
"dyn... | // Stop dyno. | [
"Stop",
"dyno",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1899-L1902 |
19,957 | heroku/heroku-go | v3/heroku.go | DynoInfo | func (s *Service) DynoInfo(ctx context.Context, appIdentity string, dynoIdentity string) (*Dyno, error) {
var dyno Dyno
return &dyno, s.Get(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos/%v", appIdentity, dynoIdentity), nil, nil)
} | go | func (s *Service) DynoInfo(ctx context.Context, appIdentity string, dynoIdentity string) (*Dyno, error) {
var dyno Dyno
return &dyno, s.Get(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos/%v", appIdentity, dynoIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"dynoIdentity",
"string",
")",
"(",
"*",
"Dyno",
",",
"error",
")",
"{",
"var",
"dyno",
"Dyno",
"\n",
"return",
"&",
"dyno",
... | // Info for existing dyno. | [
"Info",
"for",
"existing",
"dyno",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1905-L1908 |
19,958 | heroku/heroku-go | v3/heroku.go | DynoList | func (s *Service) DynoList(ctx context.Context, appIdentity string, lr *ListRange) (DynoListResult, error) {
var dyno DynoListResult
return dyno, s.Get(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos", appIdentity), nil, lr)
} | go | func (s *Service) DynoList(ctx context.Context, appIdentity string, lr *ListRange) (DynoListResult, error) {
var dyno DynoListResult
return dyno, s.Get(ctx, &dyno, fmt.Sprintf("/apps/%v/dynos", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"DynoListResult",
",",
"error",
")",
"{",
"var",
"dyno",
"DynoListResult",
"\n",
"return",
"dyn... | // List existing dynos. | [
"List",
"existing",
"dynos",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1913-L1916 |
19,959 | heroku/heroku-go | v3/heroku.go | DynoSizeInfo | func (s *Service) DynoSizeInfo(ctx context.Context, dynoSizeIdentity string) (*DynoSize, error) {
var dynoSize DynoSize
return &dynoSize, s.Get(ctx, &dynoSize, fmt.Sprintf("/dyno-sizes/%v", dynoSizeIdentity), nil, nil)
} | go | func (s *Service) DynoSizeInfo(ctx context.Context, dynoSizeIdentity string) (*DynoSize, error) {
var dynoSize DynoSize
return &dynoSize, s.Get(ctx, &dynoSize, fmt.Sprintf("/dyno-sizes/%v", dynoSizeIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoSizeInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"dynoSizeIdentity",
"string",
")",
"(",
"*",
"DynoSize",
",",
"error",
")",
"{",
"var",
"dynoSize",
"DynoSize",
"\n",
"return",
"&",
"dynoSize",
",",
"s",
... | // Info for existing dyno size. | [
"Info",
"for",
"existing",
"dyno",
"size",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1934-L1937 |
19,960 | heroku/heroku-go | v3/heroku.go | DynoSizeList | func (s *Service) DynoSizeList(ctx context.Context, lr *ListRange) (DynoSizeListResult, error) {
var dynoSize DynoSizeListResult
return dynoSize, s.Get(ctx, &dynoSize, fmt.Sprintf("/dyno-sizes"), nil, lr)
} | go | func (s *Service) DynoSizeList(ctx context.Context, lr *ListRange) (DynoSizeListResult, error) {
var dynoSize DynoSizeListResult
return dynoSize, s.Get(ctx, &dynoSize, fmt.Sprintf("/dyno-sizes"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"DynoSizeList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"DynoSizeListResult",
",",
"error",
")",
"{",
"var",
"dynoSize",
"DynoSizeListResult",
"\n",
"return",
"dynoSize",
",",
"s"... | // List existing dyno sizes. | [
"List",
"existing",
"dyno",
"sizes",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L1942-L1945 |
19,961 | heroku/heroku-go | v3/heroku.go | FilterAppsApps | func (s *Service) FilterAppsApps(ctx context.Context, o FilterAppsAppsOpts) (FilterAppsAppsResult, error) {
var filterApps FilterAppsAppsResult
return filterApps, s.Post(ctx, &filterApps, fmt.Sprintf("/filters/apps"), o)
} | go | func (s *Service) FilterAppsApps(ctx context.Context, o FilterAppsAppsOpts) (FilterAppsAppsResult, error) {
var filterApps FilterAppsAppsResult
return filterApps, s.Post(ctx, &filterApps, fmt.Sprintf("/filters/apps"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"FilterAppsApps",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"FilterAppsAppsOpts",
")",
"(",
"FilterAppsAppsResult",
",",
"error",
")",
"{",
"var",
"filterApps",
"FilterAppsAppsResult",
"\n",
"return",
"filterApps",
... | // Request an apps list filtered by app id. | [
"Request",
"an",
"apps",
"list",
"filtered",
"by",
"app",
"id",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2002-L2005 |
19,962 | heroku/heroku-go | v3/heroku.go | FormationInfo | func (s *Service) FormationInfo(ctx context.Context, appIdentity string, formationIdentity string) (*Formation, error) {
var formation Formation
return &formation, s.Get(ctx, &formation, fmt.Sprintf("/apps/%v/formation/%v", appIdentity, formationIdentity), nil, nil)
} | go | func (s *Service) FormationInfo(ctx context.Context, appIdentity string, formationIdentity string) (*Formation, error) {
var formation Formation
return &formation, s.Get(ctx, &formation, fmt.Sprintf("/apps/%v/formation/%v", appIdentity, formationIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"FormationInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"formationIdentity",
"string",
")",
"(",
"*",
"Formation",
",",
"error",
")",
"{",
"var",
"formation",
"Formation",
"\n",
"ret... | // Info for a process type | [
"Info",
"for",
"a",
"process",
"type"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2027-L2030 |
19,963 | heroku/heroku-go | v3/heroku.go | FormationList | func (s *Service) FormationList(ctx context.Context, appIdentity string, lr *ListRange) (FormationListResult, error) {
var formation FormationListResult
return formation, s.Get(ctx, &formation, fmt.Sprintf("/apps/%v/formation", appIdentity), nil, lr)
} | go | func (s *Service) FormationList(ctx context.Context, appIdentity string, lr *ListRange) (FormationListResult, error) {
var formation FormationListResult
return formation, s.Get(ctx, &formation, fmt.Sprintf("/apps/%v/formation", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"FormationList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"FormationListResult",
",",
"error",
")",
"{",
"var",
"formation",
"FormationListResult",
"\n"... | // List process type formation | [
"List",
"process",
"type",
"formation"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2035-L2038 |
19,964 | heroku/heroku-go | v3/heroku.go | FormationBatchUpdate | func (s *Service) FormationBatchUpdate(ctx context.Context, appIdentity string, o FormationBatchUpdateOpts) (FormationBatchUpdateResult, error) {
var formation FormationBatchUpdateResult
return formation, s.Patch(ctx, &formation, fmt.Sprintf("/apps/%v/formation", appIdentity), o)
} | go | func (s *Service) FormationBatchUpdate(ctx context.Context, appIdentity string, o FormationBatchUpdateOpts) (FormationBatchUpdateResult, error) {
var formation FormationBatchUpdateResult
return formation, s.Patch(ctx, &formation, fmt.Sprintf("/apps/%v/formation", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"FormationBatchUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"FormationBatchUpdateOpts",
")",
"(",
"FormationBatchUpdateResult",
",",
"error",
")",
"{",
"var",
"formation",
"Formati... | // Batch update process types | [
"Batch",
"update",
"process",
"types"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2052-L2055 |
19,965 | heroku/heroku-go | v3/heroku.go | FormationUpdate | func (s *Service) FormationUpdate(ctx context.Context, appIdentity string, formationIdentity string, o FormationUpdateOpts) (*Formation, error) {
var formation Formation
return &formation, s.Patch(ctx, &formation, fmt.Sprintf("/apps/%v/formation/%v", appIdentity, formationIdentity), o)
} | go | func (s *Service) FormationUpdate(ctx context.Context, appIdentity string, formationIdentity string, o FormationUpdateOpts) (*Formation, error) {
var formation Formation
return &formation, s.Patch(ctx, &formation, fmt.Sprintf("/apps/%v/formation/%v", appIdentity, formationIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"FormationUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"formationIdentity",
"string",
",",
"o",
"FormationUpdateOpts",
")",
"(",
"*",
"Formation",
",",
"error",
")",
"{",
"var",
"... | // Update process type | [
"Update",
"process",
"type"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2063-L2066 |
19,966 | heroku/heroku-go | v3/heroku.go | IdentityProviderCreateByOrganization | func (s *Service) IdentityProviderCreateByOrganization(ctx context.Context, organizationName string, o IdentityProviderCreateByOrganizationOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Post(ctx, &identityProvider, fmt.Sprintf("/organizations/%v/identity-providers... | go | func (s *Service) IdentityProviderCreateByOrganization(ctx context.Context, organizationName string, o IdentityProviderCreateByOrganizationOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Post(ctx, &identityProvider, fmt.Sprintf("/organizations/%v/identity-providers... | [
"func",
"(",
"s",
"*",
"Service",
")",
"IdentityProviderCreateByOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationName",
"string",
",",
"o",
"IdentityProviderCreateByOrganizationOpts",
")",
"(",
"*",
"IdentityProvider",
",",
"error",
")",
"{",
... | // Create an Identity Provider for an organization | [
"Create",
"an",
"Identity",
"Provider",
"for",
"an",
"organization"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2103-L2106 |
19,967 | heroku/heroku-go | v3/heroku.go | IdentityProviderUpdateByOrganization | func (s *Service) IdentityProviderUpdateByOrganization(ctx context.Context, organizationName string, identityProviderID string, o IdentityProviderUpdateByOrganizationOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Patch(ctx, &identityProvider, fmt.Sprintf("/organiz... | go | func (s *Service) IdentityProviderUpdateByOrganization(ctx context.Context, organizationName string, identityProviderID string, o IdentityProviderUpdateByOrganizationOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Patch(ctx, &identityProvider, fmt.Sprintf("/organiz... | [
"func",
"(",
"s",
"*",
"Service",
")",
"IdentityProviderUpdateByOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationName",
"string",
",",
"identityProviderID",
"string",
",",
"o",
"IdentityProviderUpdateByOrganizationOpts",
")",
"(",
"*",
"Identity... | // Update an organization's Identity Provider | [
"Update",
"an",
"organization",
"s",
"Identity",
"Provider"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2116-L2119 |
19,968 | heroku/heroku-go | v3/heroku.go | IdentityProviderDeleteByOrganization | func (s *Service) IdentityProviderDeleteByOrganization(ctx context.Context, organizationName string, identityProviderID string) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Delete(ctx, &identityProvider, fmt.Sprintf("/organizations/%v/identity-providers/%v", organizat... | go | func (s *Service) IdentityProviderDeleteByOrganization(ctx context.Context, organizationName string, identityProviderID string) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Delete(ctx, &identityProvider, fmt.Sprintf("/organizations/%v/identity-providers/%v", organizat... | [
"func",
"(",
"s",
"*",
"Service",
")",
"IdentityProviderDeleteByOrganization",
"(",
"ctx",
"context",
".",
"Context",
",",
"organizationName",
"string",
",",
"identityProviderID",
"string",
")",
"(",
"*",
"IdentityProvider",
",",
"error",
")",
"{",
"var",
"ident... | // Delete an organization's Identity Provider | [
"Delete",
"an",
"organization",
"s",
"Identity",
"Provider"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2122-L2125 |
19,969 | heroku/heroku-go | v3/heroku.go | IdentityProviderCreateByTeam | func (s *Service) IdentityProviderCreateByTeam(ctx context.Context, teamIdentity string, o IdentityProviderCreateByTeamOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Post(ctx, &identityProvider, fmt.Sprintf("/teams/%v/identity-providers", teamIdentity), o)
} | go | func (s *Service) IdentityProviderCreateByTeam(ctx context.Context, teamIdentity string, o IdentityProviderCreateByTeamOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Post(ctx, &identityProvider, fmt.Sprintf("/teams/%v/identity-providers", teamIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"IdentityProviderCreateByTeam",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamIdentity",
"string",
",",
"o",
"IdentityProviderCreateByTeamOpts",
")",
"(",
"*",
"IdentityProvider",
",",
"error",
")",
"{",
"var",
"identity... | // Create an Identity Provider for a team | [
"Create",
"an",
"Identity",
"Provider",
"for",
"a",
"team"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2143-L2146 |
19,970 | heroku/heroku-go | v3/heroku.go | IdentityProviderUpdateByTeam | func (s *Service) IdentityProviderUpdateByTeam(ctx context.Context, teamIdentity string, identityProviderID string, o IdentityProviderUpdateByTeamOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Patch(ctx, &identityProvider, fmt.Sprintf("/teams/%v/identity-providers... | go | func (s *Service) IdentityProviderUpdateByTeam(ctx context.Context, teamIdentity string, identityProviderID string, o IdentityProviderUpdateByTeamOpts) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Patch(ctx, &identityProvider, fmt.Sprintf("/teams/%v/identity-providers... | [
"func",
"(",
"s",
"*",
"Service",
")",
"IdentityProviderUpdateByTeam",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamIdentity",
"string",
",",
"identityProviderID",
"string",
",",
"o",
"IdentityProviderUpdateByTeamOpts",
")",
"(",
"*",
"IdentityProvider",
",",
... | // Update a team's Identity Provider | [
"Update",
"a",
"team",
"s",
"Identity",
"Provider"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2156-L2159 |
19,971 | heroku/heroku-go | v3/heroku.go | IdentityProviderDeleteByTeam | func (s *Service) IdentityProviderDeleteByTeam(ctx context.Context, teamName string, identityProviderID string) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Delete(ctx, &identityProvider, fmt.Sprintf("/teams/%v/identity-providers/%v", teamName, identityProviderID))
} | go | func (s *Service) IdentityProviderDeleteByTeam(ctx context.Context, teamName string, identityProviderID string) (*IdentityProvider, error) {
var identityProvider IdentityProvider
return &identityProvider, s.Delete(ctx, &identityProvider, fmt.Sprintf("/teams/%v/identity-providers/%v", teamName, identityProviderID))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"IdentityProviderDeleteByTeam",
"(",
"ctx",
"context",
".",
"Context",
",",
"teamName",
"string",
",",
"identityProviderID",
"string",
")",
"(",
"*",
"IdentityProvider",
",",
"error",
")",
"{",
"var",
"identityProvider",
... | // Delete a team's Identity Provider | [
"Delete",
"a",
"team",
"s",
"Identity",
"Provider"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2162-L2165 |
19,972 | heroku/heroku-go | v3/heroku.go | InboundRulesetInfo | func (s *Service) InboundRulesetInfo(ctx context.Context, spaceIdentity string, inboundRulesetIdentity string) (*InboundRuleset, error) {
var inboundRuleset InboundRuleset
return &inboundRuleset, s.Get(ctx, &inboundRuleset, fmt.Sprintf("/spaces/%v/inbound-rulesets/%v", spaceIdentity, inboundRulesetIdentity), nil, nil... | go | func (s *Service) InboundRulesetInfo(ctx context.Context, spaceIdentity string, inboundRulesetIdentity string) (*InboundRuleset, error) {
var inboundRuleset InboundRuleset
return &inboundRuleset, s.Get(ctx, &inboundRuleset, fmt.Sprintf("/spaces/%v/inbound-rulesets/%v", spaceIdentity, inboundRulesetIdentity), nil, nil... | [
"func",
"(",
"s",
"*",
"Service",
")",
"InboundRulesetInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"inboundRulesetIdentity",
"string",
")",
"(",
"*",
"InboundRuleset",
",",
"error",
")",
"{",
"var",
"inboundRuleset",
"Inbo... | // Info on an existing Inbound Ruleset | [
"Info",
"on",
"an",
"existing",
"Inbound",
"Ruleset"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2190-L2193 |
19,973 | heroku/heroku-go | v3/heroku.go | InboundRulesetList | func (s *Service) InboundRulesetList(ctx context.Context, spaceIdentity string, lr *ListRange) (InboundRulesetListResult, error) {
var inboundRuleset InboundRulesetListResult
return inboundRuleset, s.Get(ctx, &inboundRuleset, fmt.Sprintf("/spaces/%v/inbound-rulesets", spaceIdentity), nil, lr)
} | go | func (s *Service) InboundRulesetList(ctx context.Context, spaceIdentity string, lr *ListRange) (InboundRulesetListResult, error) {
var inboundRuleset InboundRulesetListResult
return inboundRuleset, s.Get(ctx, &inboundRuleset, fmt.Sprintf("/spaces/%v/inbound-rulesets", spaceIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"InboundRulesetList",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"InboundRulesetListResult",
",",
"error",
")",
"{",
"var",
"inboundRuleset",
"InboundRule... | // List all inbound rulesets for a space | [
"List",
"all",
"inbound",
"rulesets",
"for",
"a",
"space"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2198-L2201 |
19,974 | heroku/heroku-go | v3/heroku.go | InboundRulesetCreate | func (s *Service) InboundRulesetCreate(ctx context.Context, spaceIdentity string, o InboundRulesetCreateOpts) (*InboundRuleset, error) {
var inboundRuleset InboundRuleset
return &inboundRuleset, s.Put(ctx, &inboundRuleset, fmt.Sprintf("/spaces/%v/inbound-ruleset", spaceIdentity), o)
} | go | func (s *Service) InboundRulesetCreate(ctx context.Context, spaceIdentity string, o InboundRulesetCreateOpts) (*InboundRuleset, error) {
var inboundRuleset InboundRuleset
return &inboundRuleset, s.Put(ctx, &inboundRuleset, fmt.Sprintf("/spaces/%v/inbound-ruleset", spaceIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"InboundRulesetCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"spaceIdentity",
"string",
",",
"o",
"InboundRulesetCreateOpts",
")",
"(",
"*",
"InboundRuleset",
",",
"error",
")",
"{",
"var",
"inboundRuleset",
"Inbou... | // Create a new inbound ruleset | [
"Create",
"a",
"new",
"inbound",
"ruleset"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2211-L2214 |
19,975 | heroku/heroku-go | v3/heroku.go | InvoiceAddressInfo | func (s *Service) InvoiceAddressInfo(ctx context.Context) (*InvoiceAddress, error) {
var invoiceAddress InvoiceAddress
return &invoiceAddress, s.Get(ctx, &invoiceAddress, fmt.Sprintf("/account/invoice-address"), nil, nil)
} | go | func (s *Service) InvoiceAddressInfo(ctx context.Context) (*InvoiceAddress, error) {
var invoiceAddress InvoiceAddress
return &invoiceAddress, s.Get(ctx, &invoiceAddress, fmt.Sprintf("/account/invoice-address"), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"InvoiceAddressInfo",
"(",
"ctx",
"context",
".",
"Context",
")",
"(",
"*",
"InvoiceAddress",
",",
"error",
")",
"{",
"var",
"invoiceAddress",
"InvoiceAddress",
"\n",
"return",
"&",
"invoiceAddress",
",",
"s",
".",
"G... | // Retrieve existing invoice address. | [
"Retrieve",
"existing",
"invoice",
"address",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2260-L2263 |
19,976 | heroku/heroku-go | v3/heroku.go | InvoiceAddressUpdate | func (s *Service) InvoiceAddressUpdate(ctx context.Context, o InvoiceAddressUpdateOpts) (*InvoiceAddress, error) {
var invoiceAddress InvoiceAddress
return &invoiceAddress, s.Put(ctx, &invoiceAddress, fmt.Sprintf("/account/invoice-address"), o)
} | go | func (s *Service) InvoiceAddressUpdate(ctx context.Context, o InvoiceAddressUpdateOpts) (*InvoiceAddress, error) {
var invoiceAddress InvoiceAddress
return &invoiceAddress, s.Put(ctx, &invoiceAddress, fmt.Sprintf("/account/invoice-address"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"InvoiceAddressUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"InvoiceAddressUpdateOpts",
")",
"(",
"*",
"InvoiceAddress",
",",
"error",
")",
"{",
"var",
"invoiceAddress",
"InvoiceAddress",
"\n",
"return",
"&",... | // Update invoice address for an account. | [
"Update",
"invoice",
"address",
"for",
"an",
"account",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2277-L2280 |
19,977 | heroku/heroku-go | v3/heroku.go | KeyInfo | func (s *Service) KeyInfo(ctx context.Context, keyIdentity string) (*Key, error) {
var key Key
return &key, s.Get(ctx, &key, fmt.Sprintf("/account/keys/%v", keyIdentity), nil, nil)
} | go | func (s *Service) KeyInfo(ctx context.Context, keyIdentity string) (*Key, error) {
var key Key
return &key, s.Get(ctx, &key, fmt.Sprintf("/account/keys/%v", keyIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"KeyInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"keyIdentity",
"string",
")",
"(",
"*",
"Key",
",",
"error",
")",
"{",
"var",
"key",
"Key",
"\n",
"return",
"&",
"key",
",",
"s",
".",
"Get",
"(",
"ctx"... | // Info for existing key. | [
"Info",
"for",
"existing",
"key",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2295-L2298 |
19,978 | heroku/heroku-go | v3/heroku.go | KeyList | func (s *Service) KeyList(ctx context.Context, lr *ListRange) (KeyListResult, error) {
var key KeyListResult
return key, s.Get(ctx, &key, fmt.Sprintf("/account/keys"), nil, lr)
} | go | func (s *Service) KeyList(ctx context.Context, lr *ListRange) (KeyListResult, error) {
var key KeyListResult
return key, s.Get(ctx, &key, fmt.Sprintf("/account/keys"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"KeyList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"KeyListResult",
",",
"error",
")",
"{",
"var",
"key",
"KeyListResult",
"\n",
"return",
"key",
",",
"s",
".",
"Get",
"(",
... | // List existing keys. | [
"List",
"existing",
"keys",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2303-L2306 |
19,979 | heroku/heroku-go | v3/heroku.go | LogDrainCreate | func (s *Service) LogDrainCreate(ctx context.Context, appIdentity string, o LogDrainCreateOpts) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Post(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains", appIdentity), o)
} | go | func (s *Service) LogDrainCreate(ctx context.Context, appIdentity string, o LogDrainCreateOpts) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Post(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogDrainCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"LogDrainCreateOpts",
")",
"(",
"*",
"LogDrain",
",",
"error",
")",
"{",
"var",
"logDrain",
"LogDrain",
"\n",
"return",
... | // Create a new log drain. | [
"Create",
"a",
"new",
"log",
"drain",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2331-L2334 |
19,980 | heroku/heroku-go | v3/heroku.go | LogDrainUpdate | func (s *Service) LogDrainUpdate(ctx context.Context, addOnIdentity string, logDrainQueryIdentity string, o LogDrainUpdateOpts) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Put(ctx, &logDrain, fmt.Sprintf("/addons/%v/log-drains/%v", addOnIdentity, logDrainQueryIdentity), o)
} | go | func (s *Service) LogDrainUpdate(ctx context.Context, addOnIdentity string, logDrainQueryIdentity string, o LogDrainUpdateOpts) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Put(ctx, &logDrain, fmt.Sprintf("/addons/%v/log-drains/%v", addOnIdentity, logDrainQueryIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogDrainUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"logDrainQueryIdentity",
"string",
",",
"o",
"LogDrainUpdateOpts",
")",
"(",
"*",
"LogDrain",
",",
"error",
")",
"{",
"var",
... | // Update an add-on owned log drain. | [
"Update",
"an",
"add",
"-",
"on",
"owned",
"log",
"drain",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2341-L2344 |
19,981 | heroku/heroku-go | v3/heroku.go | LogDrainDelete | func (s *Service) LogDrainDelete(ctx context.Context, appIdentity string, logDrainQueryIdentity string) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Delete(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains/%v", appIdentity, logDrainQueryIdentity))
} | go | func (s *Service) LogDrainDelete(ctx context.Context, appIdentity string, logDrainQueryIdentity string) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Delete(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains/%v", appIdentity, logDrainQueryIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogDrainDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"logDrainQueryIdentity",
"string",
")",
"(",
"*",
"LogDrain",
",",
"error",
")",
"{",
"var",
"logDrain",
"LogDrain",
"\n",
"r... | // Delete an existing log drain. Log drains added by add-ons can only be
// removed by removing the add-on. | [
"Delete",
"an",
"existing",
"log",
"drain",
".",
"Log",
"drains",
"added",
"by",
"add",
"-",
"ons",
"can",
"only",
"be",
"removed",
"by",
"removing",
"the",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2348-L2351 |
19,982 | heroku/heroku-go | v3/heroku.go | LogDrainInfo | func (s *Service) LogDrainInfo(ctx context.Context, appIdentity string, logDrainQueryIdentity string) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Get(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains/%v", appIdentity, logDrainQueryIdentity), nil, nil)
} | go | func (s *Service) LogDrainInfo(ctx context.Context, appIdentity string, logDrainQueryIdentity string) (*LogDrain, error) {
var logDrain LogDrain
return &logDrain, s.Get(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains/%v", appIdentity, logDrainQueryIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogDrainInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"logDrainQueryIdentity",
"string",
")",
"(",
"*",
"LogDrain",
",",
"error",
")",
"{",
"var",
"logDrain",
"LogDrain",
"\n",
"ret... | // Info for existing log drain. | [
"Info",
"for",
"existing",
"log",
"drain",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2354-L2357 |
19,983 | heroku/heroku-go | v3/heroku.go | LogDrainListByAddOn | func (s *Service) LogDrainListByAddOn(ctx context.Context, addOnIdentity string, lr *ListRange) (LogDrainListByAddOnResult, error) {
var logDrain LogDrainListByAddOnResult
return logDrain, s.Get(ctx, &logDrain, fmt.Sprintf("/addons/%v/log-drains", addOnIdentity), nil, lr)
} | go | func (s *Service) LogDrainListByAddOn(ctx context.Context, addOnIdentity string, lr *ListRange) (LogDrainListByAddOnResult, error) {
var logDrain LogDrainListByAddOnResult
return logDrain, s.Get(ctx, &logDrain, fmt.Sprintf("/addons/%v/log-drains", addOnIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogDrainListByAddOn",
"(",
"ctx",
"context",
".",
"Context",
",",
"addOnIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"LogDrainListByAddOnResult",
",",
"error",
")",
"{",
"var",
"logDrain",
"LogDrainListByA... | // List existing log drains for an add-on. | [
"List",
"existing",
"log",
"drains",
"for",
"an",
"add",
"-",
"on",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2362-L2365 |
19,984 | heroku/heroku-go | v3/heroku.go | LogDrainList | func (s *Service) LogDrainList(ctx context.Context, appIdentity string, lr *ListRange) (LogDrainListResult, error) {
var logDrain LogDrainListResult
return logDrain, s.Get(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains", appIdentity), nil, lr)
} | go | func (s *Service) LogDrainList(ctx context.Context, appIdentity string, lr *ListRange) (LogDrainListResult, error) {
var logDrain LogDrainListResult
return logDrain, s.Get(ctx, &logDrain, fmt.Sprintf("/apps/%v/log-drains", appIdentity), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogDrainList",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"lr",
"*",
"ListRange",
")",
"(",
"LogDrainListResult",
",",
"error",
")",
"{",
"var",
"logDrain",
"LogDrainListResult",
"\n",
... | // List existing log drains. | [
"List",
"existing",
"log",
"drains",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2370-L2373 |
19,985 | heroku/heroku-go | v3/heroku.go | LogSessionCreate | func (s *Service) LogSessionCreate(ctx context.Context, appIdentity string, o LogSessionCreateOpts) (*LogSession, error) {
var logSession LogSession
return &logSession, s.Post(ctx, &logSession, fmt.Sprintf("/apps/%v/log-sessions", appIdentity), o)
} | go | func (s *Service) LogSessionCreate(ctx context.Context, appIdentity string, o LogSessionCreateOpts) (*LogSession, error) {
var logSession LogSession
return &logSession, s.Post(ctx, &logSession, fmt.Sprintf("/apps/%v/log-sessions", appIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"LogSessionCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"appIdentity",
"string",
",",
"o",
"LogSessionCreateOpts",
")",
"(",
"*",
"LogSession",
",",
"error",
")",
"{",
"var",
"logSession",
"LogSession",
"\n",
... | // Create a new log session. | [
"Create",
"a",
"new",
"log",
"session",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2390-L2393 |
19,986 | heroku/heroku-go | v3/heroku.go | OAuthAuthorizationCreate | func (s *Service) OAuthAuthorizationCreate(ctx context.Context, o OAuthAuthorizationCreateOpts) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Post(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations"), o)
} | go | func (s *Service) OAuthAuthorizationCreate(ctx context.Context, o OAuthAuthorizationCreateOpts) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Post(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthAuthorizationCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"OAuthAuthorizationCreateOpts",
")",
"(",
"*",
"OAuthAuthorization",
",",
"error",
")",
"{",
"var",
"oauthAuthorization",
"OAuthAuthorization",
"\n"... | // Create a new OAuth authorization. | [
"Create",
"a",
"new",
"OAuth",
"authorization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2441-L2444 |
19,987 | heroku/heroku-go | v3/heroku.go | OAuthAuthorizationDelete | func (s *Service) OAuthAuthorizationDelete(ctx context.Context, oauthAuthorizationIdentity string) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Delete(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations/%v", oauthAuthorizationIdentity))
} | go | func (s *Service) OAuthAuthorizationDelete(ctx context.Context, oauthAuthorizationIdentity string) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Delete(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations/%v", oauthAuthorizationIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthAuthorizationDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthAuthorizationIdentity",
"string",
")",
"(",
"*",
"OAuthAuthorization",
",",
"error",
")",
"{",
"var",
"oauthAuthorization",
"OAuthAuthorization",
"... | // Delete OAuth authorization. | [
"Delete",
"OAuth",
"authorization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2447-L2450 |
19,988 | heroku/heroku-go | v3/heroku.go | OAuthAuthorizationInfo | func (s *Service) OAuthAuthorizationInfo(ctx context.Context, oauthAuthorizationIdentity string) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Get(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations/%v", oauthAuthorizationIdentity), nil, nil)
} | go | func (s *Service) OAuthAuthorizationInfo(ctx context.Context, oauthAuthorizationIdentity string) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Get(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations/%v", oauthAuthorizationIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthAuthorizationInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthAuthorizationIdentity",
"string",
")",
"(",
"*",
"OAuthAuthorization",
",",
"error",
")",
"{",
"var",
"oauthAuthorization",
"OAuthAuthorization",
"\n... | // Info for an OAuth authorization. | [
"Info",
"for",
"an",
"OAuth",
"authorization",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2453-L2456 |
19,989 | heroku/heroku-go | v3/heroku.go | OAuthAuthorizationList | func (s *Service) OAuthAuthorizationList(ctx context.Context, lr *ListRange) (OAuthAuthorizationListResult, error) {
var oauthAuthorization OAuthAuthorizationListResult
return oauthAuthorization, s.Get(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations"), nil, lr)
} | go | func (s *Service) OAuthAuthorizationList(ctx context.Context, lr *ListRange) (OAuthAuthorizationListResult, error) {
var oauthAuthorization OAuthAuthorizationListResult
return oauthAuthorization, s.Get(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthAuthorizationList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OAuthAuthorizationListResult",
",",
"error",
")",
"{",
"var",
"oauthAuthorization",
"OAuthAuthorizationListResult",
"\n"... | // List OAuth authorizations. | [
"List",
"OAuth",
"authorizations",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2461-L2464 |
19,990 | heroku/heroku-go | v3/heroku.go | OAuthAuthorizationRegenerate | func (s *Service) OAuthAuthorizationRegenerate(ctx context.Context, oauthAuthorizationIdentity string) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Post(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations/%v/actions/regenerate-tokens", oauthAuthorizat... | go | func (s *Service) OAuthAuthorizationRegenerate(ctx context.Context, oauthAuthorizationIdentity string) (*OAuthAuthorization, error) {
var oauthAuthorization OAuthAuthorization
return &oauthAuthorization, s.Post(ctx, &oauthAuthorization, fmt.Sprintf("/oauth/authorizations/%v/actions/regenerate-tokens", oauthAuthorizat... | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthAuthorizationRegenerate",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthAuthorizationIdentity",
"string",
")",
"(",
"*",
"OAuthAuthorization",
",",
"error",
")",
"{",
"var",
"oauthAuthorization",
"OAuthAuthorization",... | // Regenerate OAuth tokens. This endpoint is only available to direct
// authorizations or privileged OAuth clients. | [
"Regenerate",
"OAuth",
"tokens",
".",
"This",
"endpoint",
"is",
"only",
"available",
"to",
"direct",
"authorizations",
"or",
"privileged",
"OAuth",
"clients",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2468-L2471 |
19,991 | heroku/heroku-go | v3/heroku.go | OAuthClientCreate | func (s *Service) OAuthClientCreate(ctx context.Context, o OAuthClientCreateOpts) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Post(ctx, &oauthClient, fmt.Sprintf("/oauth/clients"), o)
} | go | func (s *Service) OAuthClientCreate(ctx context.Context, o OAuthClientCreateOpts) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Post(ctx, &oauthClient, fmt.Sprintf("/oauth/clients"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthClientCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"OAuthClientCreateOpts",
")",
"(",
"*",
"OAuthClient",
",",
"error",
")",
"{",
"var",
"oauthClient",
"OAuthClient",
"\n",
"return",
"&",
"oauthClient... | // Create a new OAuth client. | [
"Create",
"a",
"new",
"OAuth",
"client",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2492-L2495 |
19,992 | heroku/heroku-go | v3/heroku.go | OAuthClientDelete | func (s *Service) OAuthClientDelete(ctx context.Context, oauthClientIdentity string) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Delete(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v", oauthClientIdentity))
} | go | func (s *Service) OAuthClientDelete(ctx context.Context, oauthClientIdentity string) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Delete(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v", oauthClientIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthClientDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthClientIdentity",
"string",
")",
"(",
"*",
"OAuthClient",
",",
"error",
")",
"{",
"var",
"oauthClient",
"OAuthClient",
"\n",
"return",
"&",
"oauthCli... | // Delete OAuth client. | [
"Delete",
"OAuth",
"client",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2498-L2501 |
19,993 | heroku/heroku-go | v3/heroku.go | OAuthClientInfo | func (s *Service) OAuthClientInfo(ctx context.Context, oauthClientIdentity string) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Get(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v", oauthClientIdentity), nil, nil)
} | go | func (s *Service) OAuthClientInfo(ctx context.Context, oauthClientIdentity string) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Get(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v", oauthClientIdentity), nil, nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthClientInfo",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthClientIdentity",
"string",
")",
"(",
"*",
"OAuthClient",
",",
"error",
")",
"{",
"var",
"oauthClient",
"OAuthClient",
"\n",
"return",
"&",
"oauthClien... | // Info for an OAuth client | [
"Info",
"for",
"an",
"OAuth",
"client"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2504-L2507 |
19,994 | heroku/heroku-go | v3/heroku.go | OAuthClientList | func (s *Service) OAuthClientList(ctx context.Context, lr *ListRange) (OAuthClientListResult, error) {
var oauthClient OAuthClientListResult
return oauthClient, s.Get(ctx, &oauthClient, fmt.Sprintf("/oauth/clients"), nil, lr)
} | go | func (s *Service) OAuthClientList(ctx context.Context, lr *ListRange) (OAuthClientListResult, error) {
var oauthClient OAuthClientListResult
return oauthClient, s.Get(ctx, &oauthClient, fmt.Sprintf("/oauth/clients"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthClientList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OAuthClientListResult",
",",
"error",
")",
"{",
"var",
"oauthClient",
"OAuthClientListResult",
"\n",
"return",
"oauthClient... | // List OAuth clients | [
"List",
"OAuth",
"clients"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2512-L2515 |
19,995 | heroku/heroku-go | v3/heroku.go | OAuthClientUpdate | func (s *Service) OAuthClientUpdate(ctx context.Context, oauthClientIdentity string, o OAuthClientUpdateOpts) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Patch(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v", oauthClientIdentity), o)
} | go | func (s *Service) OAuthClientUpdate(ctx context.Context, oauthClientIdentity string, o OAuthClientUpdateOpts) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Patch(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v", oauthClientIdentity), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthClientUpdate",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthClientIdentity",
"string",
",",
"o",
"OAuthClientUpdateOpts",
")",
"(",
"*",
"OAuthClient",
",",
"error",
")",
"{",
"var",
"oauthClient",
"OAuthClient... | // Update OAuth client | [
"Update",
"OAuth",
"client"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2523-L2526 |
19,996 | heroku/heroku-go | v3/heroku.go | OAuthClientRotateCredentials | func (s *Service) OAuthClientRotateCredentials(ctx context.Context, oauthClientIdentity string) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Post(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v/actions/rotate-credentials", oauthClientIdentity), nil)
} | go | func (s *Service) OAuthClientRotateCredentials(ctx context.Context, oauthClientIdentity string) (*OAuthClient, error) {
var oauthClient OAuthClient
return &oauthClient, s.Post(ctx, &oauthClient, fmt.Sprintf("/oauth/clients/%v/actions/rotate-credentials", oauthClientIdentity), nil)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthClientRotateCredentials",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthClientIdentity",
"string",
")",
"(",
"*",
"OAuthClient",
",",
"error",
")",
"{",
"var",
"oauthClient",
"OAuthClient",
"\n",
"return",
"&",
... | // Rotate credentials for an OAuth client | [
"Rotate",
"credentials",
"for",
"an",
"OAuth",
"client"
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2529-L2532 |
19,997 | heroku/heroku-go | v3/heroku.go | OAuthTokenCreate | func (s *Service) OAuthTokenCreate(ctx context.Context, o OAuthTokenCreateOpts) (*OAuthToken, error) {
var oauthToken OAuthToken
return &oauthToken, s.Post(ctx, &oauthToken, fmt.Sprintf("/oauth/tokens"), o)
} | go | func (s *Service) OAuthTokenCreate(ctx context.Context, o OAuthTokenCreateOpts) (*OAuthToken, error) {
var oauthToken OAuthToken
return &oauthToken, s.Post(ctx, &oauthToken, fmt.Sprintf("/oauth/tokens"), o)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthTokenCreate",
"(",
"ctx",
"context",
".",
"Context",
",",
"o",
"OAuthTokenCreateOpts",
")",
"(",
"*",
"OAuthToken",
",",
"error",
")",
"{",
"var",
"oauthToken",
"OAuthToken",
"\n",
"return",
"&",
"oauthToken",
"... | // Create a new OAuth token. | [
"Create",
"a",
"new",
"OAuth",
"token",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2592-L2595 |
19,998 | heroku/heroku-go | v3/heroku.go | OAuthTokenDelete | func (s *Service) OAuthTokenDelete(ctx context.Context, oauthTokenIdentity string) (*OAuthToken, error) {
var oauthToken OAuthToken
return &oauthToken, s.Delete(ctx, &oauthToken, fmt.Sprintf("/oauth/tokens/%v", oauthTokenIdentity))
} | go | func (s *Service) OAuthTokenDelete(ctx context.Context, oauthTokenIdentity string) (*OAuthToken, error) {
var oauthToken OAuthToken
return &oauthToken, s.Delete(ctx, &oauthToken, fmt.Sprintf("/oauth/tokens/%v", oauthTokenIdentity))
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OAuthTokenDelete",
"(",
"ctx",
"context",
".",
"Context",
",",
"oauthTokenIdentity",
"string",
")",
"(",
"*",
"OAuthToken",
",",
"error",
")",
"{",
"var",
"oauthToken",
"OAuthToken",
"\n",
"return",
"&",
"oauthToken",
... | // Revoke OAuth access token. | [
"Revoke",
"OAuth",
"access",
"token",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2598-L2601 |
19,999 | heroku/heroku-go | v3/heroku.go | OrganizationList | func (s *Service) OrganizationList(ctx context.Context, lr *ListRange) (OrganizationListResult, error) {
var organization OrganizationListResult
return organization, s.Get(ctx, &organization, fmt.Sprintf("/organizations"), nil, lr)
} | go | func (s *Service) OrganizationList(ctx context.Context, lr *ListRange) (OrganizationListResult, error) {
var organization OrganizationListResult
return organization, s.Get(ctx, &organization, fmt.Sprintf("/organizations"), nil, lr)
} | [
"func",
"(",
"s",
"*",
"Service",
")",
"OrganizationList",
"(",
"ctx",
"context",
".",
"Context",
",",
"lr",
"*",
"ListRange",
")",
"(",
"OrganizationListResult",
",",
"error",
")",
"{",
"var",
"organization",
"OrganizationListResult",
"\n",
"return",
"organiz... | // List organizations in which you are a member. | [
"List",
"organizations",
"in",
"which",
"you",
"are",
"a",
"member",
"."
] | ad17585a922f269c393cbccf2e0cf81eb8d2e431 | https://github.com/heroku/heroku-go/blob/ad17585a922f269c393cbccf2e0cf81eb8d2e431/v3/heroku.go#L2620-L2623 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.