_id
stringlengths
2
7
title
stringlengths
1
118
partition
stringclasses
3 values
text
stringlengths
52
85.5k
language
stringclasses
1 value
meta_information
dict
q19900
AddOnWebhookList
train
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
{ "resource": "" }
q19901
AddOnWebhookUpdate
train
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
{ "resource": "" }
q19902
AddOnWebhookDeliveryInfo
train
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
{ "resource": "" }
q19903
AddOnWebhookDeliveryList
train
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
{ "resource": "" }
q19904
AddOnWebhookEventInfo
train
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
{ "resource": "" }
q19905
AddOnWebhookEventList
train
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
{ "resource": "" }
q19906
AppCreate
train
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
{ "resource": "" }
q19907
AppInfo
train
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
{ "resource": "" }
q19908
AppList
train
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
{ "resource": "" }
q19909
AppUpdate
train
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
{ "resource": "" }
q19910
AppEnableACM
train
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
{ "resource": "" }
q19911
AppDisableACM
train
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
{ "resource": "" }
q19912
AppRefreshACM
train
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
{ "resource": "" }
q19913
AppFeatureInfo
train
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
{ "resource": "" }
q19914
AppFeatureList
train
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
{ "resource": "" }
q19915
AppFeatureUpdate
train
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
{ "resource": "" }
q19916
AppSetupCreate
train
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
{ "resource": "" }
q19917
AppSetupInfo
train
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
{ "resource": "" }
q19918
AppTransferCreate
train
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
{ "resource": "" }
q19919
AppTransferDelete
train
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
{ "resource": "" }
q19920
AppTransferInfo
train
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
{ "resource": "" }
q19921
AppTransferList
train
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
{ "resource": "" }
q19922
AppTransferUpdate
train
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
{ "resource": "" }
q19923
AppWebhookCreate
train
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
{ "resource": "" }
q19924
AppWebhookDelete
train
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
{ "resource": "" }
q19925
AppWebhookInfo
train
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
{ "resource": "" }
q19926
AppWebhookList
train
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
{ "resource": "" }
q19927
AppWebhookUpdate
train
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
{ "resource": "" }
q19928
AppWebhookDeliveryInfo
train
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
{ "resource": "" }
q19929
AppWebhookDeliveryList
train
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
{ "resource": "" }
q19930
AppWebhookEventInfo
train
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
{ "resource": "" }
q19931
AppWebhookEventList
train
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
{ "resource": "" }
q19932
BuildCreate
train
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
{ "resource": "" }
q19933
BuildInfo
train
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
{ "resource": "" }
q19934
BuildList
train
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
{ "resource": "" }
q19935
BuildDeleteCache
train
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
{ "resource": "" }
q19936
BuildResultInfo
train
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
{ "resource": "" }
q19937
BuildpackInstallationUpdate
train
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
{ "resource": "" }
q19938
BuildpackInstallationList
train
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
{ "resource": "" }
q19939
CollaboratorCreate
train
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
{ "resource": "" }
q19940
CollaboratorDelete
train
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
{ "resource": "" }
q19941
CollaboratorInfo
train
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
{ "resource": "" }
q19942
CollaboratorList
train
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
{ "resource": "" }
q19943
ConfigVarInfoForApp
train
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
{ "resource": "" }
q19944
ConfigVarInfoForAppRelease
train
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
{ "resource": "" }
q19945
ConfigVarUpdate
train
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
{ "resource": "" }
q19946
CreditCreate
train
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
{ "resource": "" }
q19947
CreditInfo
train
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
{ "resource": "" }
q19948
CreditList
train
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
{ "resource": "" }
q19949
DomainCreate
train
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
{ "resource": "" }
q19950
DomainDelete
train
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
{ "resource": "" }
q19951
DomainInfo
train
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
{ "resource": "" }
q19952
DomainList
train
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
{ "resource": "" }
q19953
DynoCreate
train
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
{ "resource": "" }
q19954
DynoRestart
train
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
{ "resource": "" }
q19955
DynoRestartAll
train
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
{ "resource": "" }
q19956
DynoStop
train
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
{ "resource": "" }
q19957
DynoInfo
train
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
{ "resource": "" }
q19958
DynoList
train
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
{ "resource": "" }
q19959
DynoSizeInfo
train
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
{ "resource": "" }
q19960
DynoSizeList
train
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
{ "resource": "" }
q19961
FilterAppsApps
train
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
{ "resource": "" }
q19962
FormationInfo
train
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
{ "resource": "" }
q19963
FormationList
train
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
{ "resource": "" }
q19964
FormationBatchUpdate
train
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
{ "resource": "" }
q19965
FormationUpdate
train
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
{ "resource": "" }
q19966
IdentityProviderCreateByOrganization
train
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
{ "resource": "" }
q19967
IdentityProviderUpdateByOrganization
train
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
{ "resource": "" }
q19968
IdentityProviderDeleteByOrganization
train
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
{ "resource": "" }
q19969
IdentityProviderCreateByTeam
train
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
{ "resource": "" }
q19970
IdentityProviderUpdateByTeam
train
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
{ "resource": "" }
q19971
IdentityProviderDeleteByTeam
train
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
{ "resource": "" }
q19972
InboundRulesetInfo
train
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
{ "resource": "" }
q19973
InboundRulesetList
train
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
{ "resource": "" }
q19974
InboundRulesetCreate
train
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
{ "resource": "" }
q19975
InvoiceAddressInfo
train
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
{ "resource": "" }
q19976
InvoiceAddressUpdate
train
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
{ "resource": "" }
q19977
KeyInfo
train
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
{ "resource": "" }
q19978
KeyList
train
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
{ "resource": "" }
q19979
LogDrainCreate
train
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
{ "resource": "" }
q19980
LogDrainUpdate
train
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
{ "resource": "" }
q19981
LogDrainDelete
train
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
{ "resource": "" }
q19982
LogDrainInfo
train
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
{ "resource": "" }
q19983
LogDrainListByAddOn
train
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
{ "resource": "" }
q19984
LogDrainList
train
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
{ "resource": "" }
q19985
LogSessionCreate
train
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
{ "resource": "" }
q19986
OAuthAuthorizationCreate
train
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
{ "resource": "" }
q19987
OAuthAuthorizationDelete
train
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
{ "resource": "" }
q19988
OAuthAuthorizationInfo
train
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
{ "resource": "" }
q19989
OAuthAuthorizationList
train
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
{ "resource": "" }
q19990
OAuthAuthorizationRegenerate
train
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
{ "resource": "" }
q19991
OAuthClientCreate
train
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
{ "resource": "" }
q19992
OAuthClientDelete
train
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
{ "resource": "" }
q19993
OAuthClientInfo
train
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
{ "resource": "" }
q19994
OAuthClientList
train
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
{ "resource": "" }
q19995
OAuthClientUpdate
train
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
{ "resource": "" }
q19996
OAuthClientRotateCredentials
train
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
{ "resource": "" }
q19997
OAuthTokenCreate
train
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
{ "resource": "" }
q19998
OAuthTokenDelete
train
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
{ "resource": "" }
q19999
OrganizationList
train
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
{ "resource": "" }