Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data OnPremiseConfiguration = OnPremiseConfiguration' {}
- newOnPremiseConfiguration :: Text -> Text -> S3Path -> OnPremiseConfiguration
- onPremiseConfiguration_hostUrl :: Lens' OnPremiseConfiguration Text
- onPremiseConfiguration_organizationName :: Lens' OnPremiseConfiguration Text
- onPremiseConfiguration_sslCertificateS3Path :: Lens' OnPremiseConfiguration S3Path
Documentation
data OnPremiseConfiguration Source #
Provides the configuration information to connect to GitHub Enterprise Server (on premises).
See: newOnPremiseConfiguration
smart constructor.
OnPremiseConfiguration' | |
|
Instances
newOnPremiseConfiguration Source #
:: Text | |
-> Text | |
-> S3Path | |
-> OnPremiseConfiguration |
Create a value of OnPremiseConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:hostUrl:OnPremiseConfiguration'
, onPremiseConfiguration_hostUrl
- The GitHub host URL or API endpoint URL. For example,
https://on-prem-host-url/api/v3/
$sel:organizationName:OnPremiseConfiguration'
, onPremiseConfiguration_organizationName
- The name of the organization of the GitHub Enterprise Server
(in-premise) account you want to connect to. You can find your
organization name by logging into GitHub desktop and selecting __Your
organizations__ under your profile picture dropdown.
$sel:sslCertificateS3Path:OnPremiseConfiguration'
, onPremiseConfiguration_sslCertificateS3Path
- The path to the SSL certificate stored in an Amazon S3 bucket. You use
this to connect to GitHub if you require a secure SSL connection.
You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.
onPremiseConfiguration_hostUrl :: Lens' OnPremiseConfiguration Text Source #
The GitHub host URL or API endpoint URL. For example, https://on-prem-host-url/api/v3/
onPremiseConfiguration_organizationName :: Lens' OnPremiseConfiguration Text Source #
The name of the organization of the GitHub Enterprise Server (in-premise) account you want to connect to. You can find your organization name by logging into GitHub desktop and selecting __Your organizations__ under your profile picture dropdown.
onPremiseConfiguration_sslCertificateS3Path :: Lens' OnPremiseConfiguration S3Path Source #
The path to the SSL certificate stored in an Amazon S3 bucket. You use this to connect to GitHub if you require a secure SSL connection.
You can simply generate a self-signed X509 certificate on any computer using OpenSSL. For an example of using OpenSSL to create an X509 certificate, see Create and sign an X509 certificate.