package
7.0.1+incompatible
Repository: https://github.com/apache/incubator-trafficcontrol.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AddSSLKeys adds the given ssl keys to the given delivery service.
No description provided by the author
No description provided by the author
ConvertPrivateKeyToKeyPem converts an rsa.PrivateKey to be PEM encoded.
CopyURLKeys copies the URL sig keys from a delivery service in the 'copy-name' path parameter to the delivery service in the 'name' path parameter.
CreateDNSSECKeys creates DNSSEC keys for the given delivery service, updating existing keys if they exist.
No description provided by the author
No description provided by the author
No description provided by the author
DeleteOldCerts asynchronously deletes HTTPS certificates in Riak which have no corresponding delivery service in the database.
DeleteSSLKeys deletes a Delivery Service's sslkeys via a DELETE method.
DeleteURLKeysByID deletes the URL sig keys for the delivery service identified by the id in the path parameter.
DeleteURLKeysByName deletes the URL sig keys for the delivery service identified by the xmlId in the path parameter.
EncodePEMToLegacyPerlRiakFormat takes a PEM-encoded byte (typically a certificate, csr, or key) and returns the format Perl Traffic Ops used to send to Riak.
EnsureCacheURLParams ensures the given delivery service's cachrurl parameters exist on profiles of servers assigned to the delivery service.
EnsureParams ensures the given delivery service's necessary parameters exist on profiles of servers assigned to the delivery service.
EnsureTopologyBasedRequiredCapabilities ensures that at least one server per cachegroup in this delivery service's topology has this delivery service's required capabilities.
GenerateAcmeCertificates gets and saves certificates using ACME protocol from a give ACME provider.
GenerateCert generates a key and certificate for serving HTTPS.
GenerateLetsEncryptCertificates gets and saves new certificates from Let's Encrypt.
GeneratePlaceholderSelfSignedCert generates a self-signed SSL certificate as a placeholder when a new HTTPS delivery service is created or an HTTP delivery service is updated to use HTTPS.
GenerateSSLKeys generates a new private key, certificate signing request and certificate based on the values submitted.
GenerateURLKeys generates new URL sig keys for the delivery service identified by the xmlId in the path parameter.
GenerateURLSigKeys generates new URL sig keys.
GetAcmeAccountConfig returns the ACME account information from cdn.conf for a given provider.
GetAcmeCertificates gets or creates an ACME account based on the provider, then gets new certificates for the delivery service requested and saves them to Vault.
GetAcmeClient uses the ACME account information in either cdn.conf or the database to create and register an ACME client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetDSTLSVersions retrieves the TLS versions explicitly supported by a Delivery Service identified by dsID.
No description provided by the author
GetInvalidCachegroupsForRequiredCapabilities returns the cachegroups that are invalid w.r.t.
No description provided by the author
GetSSlKeyExpirationInformation gets expiration information for all SSL certificates.
GetSSLKeysByXMLID fetches the deliveryservice ssl keys by the specified xmlID.
GetURLKeysByID returns the URL sig keys for a delivery service identified by the id in the path parameter.
GetURLKeysByName returns the URL sig keys for a delivery service identified by the xmlId in the path parameter.
GetXMLID loads the DeliveryService's xml_id from the database, from the ID.
MakeDNSSECKeySetFromRiakKeySet creates a DNSSECKeySet (as served by Traffic Ops) from a DNSSECKeysRiak (as stored in Riak), adding any computed data.
No description provided by the author
MakeExampleURLs creates the example URLs for a delivery service.
NewDNSProviderTrafficRouter returns a new DNSProviderTrafficRouter object.
ParseExpirationAndSansFromCert returns the expiration and SANs from a certificate.
No description provided by the author
RenewAcmeCertificate renews the SSL certificate for a delivery service if possible through ACME protocol.
RenewCertificates renews all SSL certificates that are expiring within a certain time limit.
RenewCertificatesDeprecated renews all SSL certificates that are expiring within a certain time limit with a deprecation alert.
No description provided by the author
UpdateSafe is the handler for PUT requests to /deliveryservices/{{ID}}/safe.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
language=SQL.
No description provided by the author
No description provided by the author
SelectDeliveryServicesQuery is a PostgreSQL query used to fetch Delivery Services from the Traffic Ops Database.

# Structs

AcmeInfo contains the information that will be stored for an ACME account.
No description provided by the author
No description provided by the author
DNSProviderTrafficRouter is used in the lego library and contains a database in order to store the DNS challenges for ACME protocol.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MyUser stores the user's information for use in ACME protocol.
No description provided by the author
No description provided by the author
RequiredCapability provides a type to define methods on.
we need a type alias to define functions on.
TODeliveryServiceOldDetails is the struct to store the old details while updating a DS.