package
0.8.0
Repository: https://github.com/willabides/octo-go.git
Documentation: pkg.go.dev

# Functions

AddRepoToInstallation performs requests for "apps/add-repo-to-installation" Add a repository to an app installation.
CheckAuthorization performs requests for "apps/check-authorization" Check an authorization.
CheckToken performs requests for "apps/check-token" Check a token.
CreateContentAttachment performs requests for "apps/create-content-attachment" Create a content attachment.
CreateFromManifest performs requests for "apps/create-from-manifest" Create a GitHub App from a manifest.
CreateInstallationAccessToken performs requests for "apps/create-installation-access-token" Create an installation access token for an app.
DeleteAuthorization performs requests for "apps/delete-authorization" Delete an app authorization.
DeleteInstallation performs requests for "apps/delete-installation" Delete an installation for the authenticated app.
DeleteToken performs requests for "apps/delete-token" Delete an app token.
GetAuthenticated performs requests for "apps/get-authenticated" Get the authenticated app.
GetBySlug performs requests for "apps/get-by-slug" Get an app.
GetInstallation performs requests for "apps/get-installation" Get an installation for the authenticated app.
GetOrgInstallation performs requests for "apps/get-org-installation" Get an organization installation for the authenticated app.
GetRepoInstallation performs requests for "apps/get-repo-installation" Get a repository installation for the authenticated app.
GetSubscriptionPlanForAccount performs requests for "apps/get-subscription-plan-for-account" Get a subscription plan for an account.
GetSubscriptionPlanForAccountStubbed performs requests for "apps/get-subscription-plan-for-account-stubbed" Get a subscription plan for an account (stubbed).
GetUserInstallation performs requests for "apps/get-user-installation" Get a user installation for the authenticated app.
ListAccountsForPlan performs requests for "apps/list-accounts-for-plan" List accounts for a plan.
ListAccountsForPlanStubbed performs requests for "apps/list-accounts-for-plan-stubbed" List accounts for a plan (stubbed).
ListInstallationReposForAuthenticatedUser performs requests for "apps/list-installation-repos-for-authenticated-user" List repositories accessible to the user access token.
ListInstallations performs requests for "apps/list-installations" List installations for the authenticated app.
ListInstallationsForAuthenticatedUser performs requests for "apps/list-installations-for-authenticated-user" List app installations accessible to the user access token.
ListPlans performs requests for "apps/list-plans" List plans.
ListPlansStubbed performs requests for "apps/list-plans-stubbed" List plans (stubbed).
ListReposAccessibleToInstallation performs requests for "apps/list-repos-accessible-to-installation" List repositories accessible to the app installation.
ListSubscriptionsForAuthenticatedUser performs requests for "apps/list-subscriptions-for-authenticated-user" List subscriptions for the authenticated user.
ListSubscriptionsForAuthenticatedUserStubbed performs requests for "apps/list-subscriptions-for-authenticated-user-stubbed" List subscriptions for the authenticated user (stubbed).
NewClient returns a new Client.
RemoveRepoFromInstallation performs requests for "apps/remove-repo-from-installation" Remove a repository from an app installation.
ResetAuthorization performs requests for "apps/reset-authorization" Reset an authorization.
ResetToken performs requests for "apps/reset-token" Reset a token.
RevokeAuthorizationForApplication performs requests for "apps/revoke-authorization-for-application" Revoke an authorization for an application.
RevokeGrantForApplication performs requests for "apps/revoke-grant-for-application" Revoke a grant for an application.
RevokeInstallationAccessToken performs requests for "apps/revoke-installation-access-token" Revoke an installation access token.
SuspendInstallation performs requests for "apps/suspend-installation" Suspend an app installation.
UnsuspendInstallation performs requests for "apps/unsuspend-installation" Unsuspend an app installation.

# Structs

AddRepoToInstallationReq is request data for Client.AddRepoToInstallation https://developer.github.com/v3/apps/installations/#add-a-repository-to-an-app-installation Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
AddRepoToInstallationResponse is a response for AddRepoToInstallation https://developer.github.com/v3/apps/installations/#add-a-repository-to-an-app-installation */.
CheckAuthorizationReq is request data for Client.CheckAuthorization https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
CheckAuthorizationResponse is a response for CheckAuthorization https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization */.
CheckAuthorizationResponseBody is a response body for CheckAuthorization https://developer.github.com/v3/apps/oauth_applications/#check-an-authorization */.
CheckTokenReq is request data for Client.CheckToken https://developer.github.com/v3/apps/oauth_applications/#check-a-token Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
CheckTokenReqBody is a request body for apps/check-token https://developer.github.com/v3/apps/oauth_applications/#check-a-token */.
CheckTokenResponse is a response for CheckToken https://developer.github.com/v3/apps/oauth_applications/#check-a-token */.
CreateContentAttachmentReq is request data for Client.CreateContentAttachment https://developer.github.com/v3/apps/installations/#create-a-content-attachment Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
CreateContentAttachmentReqBody is a request body for apps/create-content-attachment https://developer.github.com/v3/apps/installations/#create-a-content-attachment */.
CreateContentAttachmentResponse is a response for CreateContentAttachment https://developer.github.com/v3/apps/installations/#create-a-content-attachment */.
CreateFromManifestReq is request data for Client.CreateFromManifest https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
CreateFromManifestResponse is a response for CreateFromManifest https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest */.
CreateFromManifestResponseBody is a response body for CreateFromManifest https://developer.github.com/v3/apps/#create-a-github-app-from-a-manifest */.
CreateInstallationAccessTokenReq is request data for Client.CreateInstallationAccessToken https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
CreateInstallationAccessTokenReqBody is a request body for apps/create-installation-access-token https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app */.
CreateInstallationAccessTokenResponse is a response for CreateInstallationAccessToken https://developer.github.com/v3/apps/#create-an-installation-access-token-for-an-app */.
DeleteAuthorizationReq is request data for Client.DeleteAuthorization https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
DeleteAuthorizationReqBody is a request body for apps/delete-authorization https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization */.
DeleteAuthorizationResponse is a response for DeleteAuthorization https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-authorization */.
DeleteInstallationReq is request data for Client.DeleteInstallation https://developer.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
DeleteInstallationResponse is a response for DeleteInstallation https://developer.github.com/v3/apps/#delete-an-installation-for-the-authenticated-app */.
DeleteTokenReq is request data for Client.DeleteToken https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
DeleteTokenReqBody is a request body for apps/delete-token https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token */.
DeleteTokenResponse is a response for DeleteToken https://developer.github.com/v3/apps/oauth_applications/#delete-an-app-token */.
GetAuthenticatedReq is request data for Client.GetAuthenticated https://developer.github.com/v3/apps/#get-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetAuthenticatedResponse is a response for GetAuthenticated https://developer.github.com/v3/apps/#get-the-authenticated-app */.
GetBySlugReq is request data for Client.GetBySlug https://developer.github.com/v3/apps/#get-an-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetBySlugResponse is a response for GetBySlug https://developer.github.com/v3/apps/#get-an-app */.
GetInstallationReq is request data for Client.GetInstallation https://developer.github.com/v3/apps/#get-an-installation-for-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetInstallationResponse is a response for GetInstallation https://developer.github.com/v3/apps/#get-an-installation-for-the-authenticated-app */.
GetOrgInstallationReq is request data for Client.GetOrgInstallation https://developer.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetOrgInstallationResponse is a response for GetOrgInstallation https://developer.github.com/v3/apps/#get-an-organization-installation-for-the-authenticated-app */.
GetRepoInstallationReq is request data for Client.GetRepoInstallation https://developer.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetRepoInstallationResponse is a response for GetRepoInstallation https://developer.github.com/v3/apps/#get-a-repository-installation-for-the-authenticated-app */.
GetSubscriptionPlanForAccountReq is request data for Client.GetSubscriptionPlanForAccount https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetSubscriptionPlanForAccountResponse is a response for GetSubscriptionPlanForAccount https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account */.
GetSubscriptionPlanForAccountStubbedReq is request data for Client.GetSubscriptionPlanForAccountStubbed https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetSubscriptionPlanForAccountStubbedResponse is a response for GetSubscriptionPlanForAccountStubbed https://developer.github.com/v3/apps/marketplace/#get-a-subscription-plan-for-an-account-stubbed */.
GetUserInstallationReq is request data for Client.GetUserInstallation https://developer.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetUserInstallationResponse is a response for GetUserInstallation https://developer.github.com/v3/apps/#get-a-user-installation-for-the-authenticated-app */.
ListAccountsForPlanReq is request data for Client.ListAccountsForPlan https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListAccountsForPlanResponse is a response for ListAccountsForPlan https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan */.
ListAccountsForPlanStubbedReq is request data for Client.ListAccountsForPlanStubbed https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListAccountsForPlanStubbedResponse is a response for ListAccountsForPlanStubbed https://developer.github.com/v3/apps/marketplace/#list-accounts-for-a-plan-stubbed */.
ListInstallationReposForAuthenticatedUserReq is request data for Client.ListInstallationReposForAuthenticatedUser https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListInstallationReposForAuthenticatedUserResponse is a response for ListInstallationReposForAuthenticatedUser https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token */.
ListInstallationReposForAuthenticatedUserResponseBody is a response body for ListInstallationReposForAuthenticatedUser https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-user-access-token */.
ListInstallationsForAuthenticatedUserReq is request data for Client.ListInstallationsForAuthenticatedUser https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListInstallationsForAuthenticatedUserResponse is a response for ListInstallationsForAuthenticatedUser https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token */.
ListInstallationsForAuthenticatedUserResponseBody is a response body for ListInstallationsForAuthenticatedUser https://developer.github.com/v3/apps/installations/#list-app-installations-accessible-to-the-user-access-token */.
ListInstallationsReq is request data for Client.ListInstallations https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListInstallationsResponse is a response for ListInstallations https://developer.github.com/v3/apps/#list-installations-for-the-authenticated-app */.
ListPlansReq is request data for Client.ListPlans https://developer.github.com/v3/apps/marketplace/#list-plans Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListPlansResponse is a response for ListPlans https://developer.github.com/v3/apps/marketplace/#list-plans */.
ListPlansStubbedReq is request data for Client.ListPlansStubbed https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListPlansStubbedResponse is a response for ListPlansStubbed https://developer.github.com/v3/apps/marketplace/#list-plans-stubbed */.
ListReposAccessibleToInstallationReq is request data for Client.ListReposAccessibleToInstallation https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListReposAccessibleToInstallationResponse is a response for ListReposAccessibleToInstallation https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation */.
ListReposAccessibleToInstallationResponseBody is a response body for ListReposAccessibleToInstallation https://developer.github.com/v3/apps/installations/#list-repositories-accessible-to-the-app-installation */.
ListSubscriptionsForAuthenticatedUserReq is request data for Client.ListSubscriptionsForAuthenticatedUser https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListSubscriptionsForAuthenticatedUserResponse is a response for ListSubscriptionsForAuthenticatedUser https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user */.
ListSubscriptionsForAuthenticatedUserStubbedReq is request data for Client.ListSubscriptionsForAuthenticatedUserStubbed https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListSubscriptionsForAuthenticatedUserStubbedResponse is a response for ListSubscriptionsForAuthenticatedUserStubbed https://developer.github.com/v3/apps/marketplace/#list-subscriptions-for-the-authenticated-user-stubbed */.
RemoveRepoFromInstallationReq is request data for Client.RemoveRepoFromInstallation https://developer.github.com/v3/apps/installations/#remove-a-repository-from-an-app-installation Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
RemoveRepoFromInstallationResponse is a response for RemoveRepoFromInstallation https://developer.github.com/v3/apps/installations/#remove-a-repository-from-an-app-installation */.
ResetAuthorizationReq is request data for Client.ResetAuthorization https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ResetAuthorizationResponse is a response for ResetAuthorization https://developer.github.com/v3/apps/oauth_applications/#reset-an-authorization */.
ResetTokenReq is request data for Client.ResetToken https://developer.github.com/v3/apps/oauth_applications/#reset-a-token Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ResetTokenReqBody is a request body for apps/reset-token https://developer.github.com/v3/apps/oauth_applications/#reset-a-token */.
ResetTokenResponse is a response for ResetToken https://developer.github.com/v3/apps/oauth_applications/#reset-a-token */.
RevokeAuthorizationForApplicationReq is request data for Client.RevokeAuthorizationForApplication https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
RevokeAuthorizationForApplicationResponse is a response for RevokeAuthorizationForApplication https://developer.github.com/v3/apps/oauth_applications/#revoke-an-authorization-for-an-application */.
RevokeGrantForApplicationReq is request data for Client.RevokeGrantForApplication https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
RevokeGrantForApplicationResponse is a response for RevokeGrantForApplication https://developer.github.com/v3/apps/oauth_applications/#revoke-a-grant-for-an-application */.
RevokeInstallationAccessTokenReq is request data for Client.RevokeInstallationAccessToken https://developer.github.com/v3/apps/installations/#revoke-an-installation-access-token Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
RevokeInstallationAccessTokenResponse is a response for RevokeInstallationAccessToken https://developer.github.com/v3/apps/installations/#revoke-an-installation-access-token */.
SuspendInstallationReq is request data for Client.SuspendInstallation https://developer.github.com/v3/apps/#suspend-an-app-installation Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
SuspendInstallationResponse is a response for SuspendInstallation https://developer.github.com/v3/apps/#suspend-an-app-installation */.
UnsuspendInstallationReq is request data for Client.UnsuspendInstallation https://developer.github.com/v3/apps/#unsuspend-an-app-installation Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
UnsuspendInstallationResponse is a response for UnsuspendInstallation https://developer.github.com/v3/apps/#unsuspend-an-app-installation */.

# Type aliases

Client is a set of options to apply to requests.
CreateInstallationAccessTokenReqBodyPermissions is a value for CreateInstallationAccessTokenReqBody's Permissions field.