Versions in this module Expand all Collapse all v9 v9.1.0 Nov 14, 2024 v9.0.0 Oct 3, 2024 Changes in this version + const AcknowledgementAcknowledge + const AcknowledgementDeny + var AllowedInputContentTypeHeader = map[AllowedInputType]string + var ErrAcknowledgeChangeManagement = errors.New("acknowledging change management") + var ErrAcknowledgeLetsEncryptChallenges = errors.New("acknowledging lets-encrypt-challenges") + var ErrAcknowledgePostVerificationWarnings = errors.New("acknowledging post-verification-warnings") + var ErrAcknowledgePreVerificationWarnings = errors.New("acknowledging pre-verification-warnings") + var ErrCancelChange = errors.New("canceling change") + var ErrCreateEnrollment = errors.New("create enrollment") + var ErrGetCertificateHistory = errors.New("get certificate history") + var ErrGetChangeDeploymentInfo = errors.New("get change deployment info") + var ErrGetChangeHistory = errors.New("get change history") + var ErrGetChangeLetsEncryptChallenges = errors.New("fetching change for lets-encrypt-challenges") + var ErrGetChangeManagementInfo = errors.New("get change management info") + var ErrGetChangePostVerificationWarnings = errors.New("get post-verification-warnings") + var ErrGetChangePreVerificationWarnings = errors.New("fetching pre-verification-warnings") + var ErrGetChangeStatus = errors.New("fetching change") + var ErrGetChangeThirdPartyCSR = errors.New("get change third-party csr") + var ErrGetDVHistory = errors.New("get dv history") + var ErrGetDeploymentSchedule = errors.New("get deployment schedule") + var ErrGetEnrollment = errors.New("fetching enrollment") + var ErrGetProductionDeployment = errors.New("get production deployment") + var ErrGetStagingDeployment = errors.New("get staging deployment") + var ErrInvalidLocation = errors.New("location URL is invalid") + var ErrListDeployments = errors.New("list deployments") + var ErrListEnrollments = errors.New("fetching enrollments") + var ErrRemoveEnrollment = errors.New("remove enrollment") + var ErrStructValidation = errors.New("struct validation") + var ErrUpdateChange = errors.New("updating change") + var ErrUpdateDeploymentSchedule = errors.New("update deployment schedule") + var ErrUpdateEnrollment = errors.New("update enrollment") + var ErrUploadThirdPartyCertAndTrustChain = errors.New("upload third-party cert and trust chain") + func GetIDFromLocation(location string) (int, error) + type Acknowledgement struct + Acknowledgement string + func (a Acknowledgement) Validate() error + type AcknowledgementRequest struct + ChangeID int + EnrollmentID int + func (a AcknowledgementRequest) Validate() error + type AllowedInput struct + Info string + RequiredToProceed bool + Type string + Update string + type AllowedInputType string + const AllowedInputTypeChangeManagementACK + const AllowedInputTypeLetsEncryptChallengesCompleted + const AllowedInputTypePostVerificationWarningsACK + const AllowedInputTypePreVerificationWarningsACK + const AllowedInputTypeThirdPartyCertAndTrustChain + type AuthenticationOptions struct + OCSP *OCSP + SendCAListToClient *bool + type CPS interface + AcknowledgeChangeManagement func(context.Context, AcknowledgementRequest) error + AcknowledgeDVChallenges func(context.Context, AcknowledgementRequest) error + AcknowledgePostVerificationWarnings func(context.Context, AcknowledgementRequest) error + AcknowledgePreVerificationWarnings func(context.Context, AcknowledgementRequest) error + CancelChange func(context.Context, CancelChangeRequest) (*CancelChangeResponse, error) + CreateEnrollment func(context.Context, CreateEnrollmentRequest) (*CreateEnrollmentResponse, error) + GetCertificateHistory func(context.Context, GetCertificateHistoryRequest) (*GetCertificateHistoryResponse, error) + GetChangeDeploymentInfo func(ctx context.Context, params GetChangeRequest) (*ChangeDeploymentInfoResponse, error) + GetChangeHistory func(context.Context, GetChangeHistoryRequest) (*GetChangeHistoryResponse, error) + GetChangeLetsEncryptChallenges func(context.Context, GetChangeRequest) (*DVArray, error) + GetChangeManagementInfo func(ctx context.Context, params GetChangeRequest) (*ChangeManagementInfoResponse, error) + GetChangePostVerificationWarnings func(ctx context.Context, params GetChangeRequest) (*PostVerificationWarnings, error) + GetChangePreVerificationWarnings func(ctx context.Context, params GetChangeRequest) (*PreVerificationWarnings, error) + GetChangeStatus func(context.Context, GetChangeStatusRequest) (*Change, error) + GetChangeThirdPartyCSR func(ctx context.Context, params GetChangeRequest) (*ThirdPartyCSRResponse, error) + GetDVHistory func(context.Context, GetDVHistoryRequest) (*GetDVHistoryResponse, error) + GetDeploymentSchedule func(context.Context, GetDeploymentScheduleRequest) (*DeploymentSchedule, error) + GetEnrollment func(context.Context, GetEnrollmentRequest) (*GetEnrollmentResponse, error) + GetProductionDeployment func(context.Context, GetDeploymentRequest) (*GetProductionDeploymentResponse, error) + GetStagingDeployment func(context.Context, GetDeploymentRequest) (*GetStagingDeploymentResponse, error) + ListDeployments func(context.Context, ListDeploymentsRequest) (*ListDeploymentsResponse, error) + ListEnrollments func(context.Context, ListEnrollmentsRequest) (*ListEnrollmentsResponse, error) + RemoveEnrollment func(context.Context, RemoveEnrollmentRequest) (*RemoveEnrollmentResponse, error) + UpdateChange func(context.Context, UpdateChangeRequest) (*UpdateChangeResponse, error) + UpdateDeploymentSchedule func(context.Context, UpdateDeploymentScheduleRequest) (*UpdateDeploymentScheduleResponse, error) + UpdateEnrollment func(context.Context, UpdateEnrollmentRequest) (*UpdateEnrollmentResponse, error) + UploadThirdPartyCertAndTrustChain func(context.Context, UploadThirdPartyCertAndTrustChainRequest) error + func Client(sess session.Session, opts ...Option) CPS + type CSR struct + C string + CN string + L string + O string + OU string + PreferredTrustChain string + SANS []string + ST string + func (c CSR) Validate() error + type CancelChangeRequest struct + ChangeID int + EnrollmentID int + func (c CancelChangeRequest) Validate() error + type CancelChangeResponse struct + Change string + type CertSigningRequest struct + CSR string + KeyAlgorithm string + type Certificate struct + Certificate string + TrustChain string + func (c Certificate) Validate() error + type CertificateAndTrustChain struct + Certificate string + KeyAlgorithm string + TrustChain string + func (r CertificateAndTrustChain) Validate() error + type CertificateChangeHistory struct + CSR string + Certificate string + KeyAlgorithm string + TrustChain string + type CertificateObject struct + Certificate string + Expiry string + KeyAlgorithm string + TrustChain string + type CertificateOrderDetails struct + OrderID string + type Challenge struct + Error string + FullPath string + RedirectFullPath string + ResponseBody string + Status string + Token string + Type string + ValidationRecords []ValidationRecord + type Change struct + AllowedInput []AllowedInput + StatusInfo *StatusInfo + type ChangeDeploymentInfoResponse Deployment + type ChangeHistory struct + Action string + ActionDescription string + BusinessCaseID string + CreatedBy string + CreatedOn string + LastUpdated string + MultiStackedCertificates []CertificateChangeHistory + PrimaryCertificate CertificateChangeHistory + PrimaryCertificateOrderDetails CertificateOrderDetails + RA string + Status string + type ChangeManagementInfoResponse struct + AcknowledgementDeadline *string + PendingState PendingState + ValidationResult *ValidationResult + ValidationResultHash string + type ClientFunc func(sess session.Session, opts ...Option) CPS + type ClientMutualAuthentication struct + AuthenticationOptions *AuthenticationOptions + SetID string + type Contact struct + AddressLineOne string + AddressLineTwo string + City string + Country string + Email string + FirstName string + LastName string + OrganizationName string + Phone string + PostalCode string + Region string + Title string + type CreateEnrollmentRequest struct + AllowDuplicateCN bool + ContractID string + DeployNotAfter string + DeployNotBefore string + func (e CreateEnrollmentRequest) Validate() error + type CreateEnrollmentResponse struct + Changes []string + Enrollment string + ID int + type DNSNameSettings struct + CloneDNSNames bool + DNSNames []string + type DV struct + Challenges []Challenge + Domain string + Error string + Expires string + RequestTimestamp string + Status string + ValidatedTimestamp string + ValidationStatus string + type DVArray struct + DV []DV + type Deployment struct + MultiStackedCertificates []DeploymentCertificate + NetworkConfiguration DeploymentNetworkConfiguration + OCSPStapled *bool + OCSPURIs []string + PrimaryCertificate DeploymentCertificate + type DeploymentCertificate struct + Certificate string + Expiry string + KeyAlgorithm string + SignatureAlgorithm string + TrustChain string + type DeploymentNetworkConfiguration struct + DNSNames []string + DisallowedTLSVersions []string + Geography string + MustHaveCiphers string + OCSPStapling string + PreferredCiphers string + QUICEnabled bool + SNIOnly bool + SecureNetwork string + type DeploymentSchedule struct + NotAfter *string + NotBefore *string + type DomainHistory struct + Challenges []Challenge + Domain string + Error string + Expires string + FullPath string + RedirectFullPath string + RequestTimestamp string + ResponseBody string + Status string + Token string + ValidatedTimestamp string + ValidationRecords []ValidationRecord + ValidationStatus string + type Enrollment struct + AdminContact *Contact + AssignedSlots []int + AutoRenewalStartTime string + CSR *CSR + CertificateChainType string + CertificateType string + ChangeManagement bool + EnableMultiStackedCertificates bool + ID int + Location string + MaxAllowedSanNames int + MaxAllowedWildcardSanNames int + NetworkConfiguration *NetworkConfiguration + Org *Org + OrgID *int + PendingChanges []PendingChange + ProductionSlots []int + RA string + SignatureAlgorithm string + StagingSlots []int + TechContact *Contact + ThirdParty *ThirdParty + ValidationType string + type EnrollmentRequestBody struct + AdminContact *Contact + AutoRenewalStartTime string + CSR *CSR + CertificateChainType string + CertificateType string + ChangeManagement bool + EnableMultiStackedCertificates bool + NetworkConfiguration *NetworkConfiguration + Org *Org + OrgID *int + RA string + SignatureAlgorithm string + TechContact *Contact + ThirdParty *ThirdParty + ValidationType string + func (e EnrollmentRequestBody) Validate() error + type Error struct + BehaviorName string + Detail string + ErrorLocation string + Errors json.RawMessage + Instance string + StatusCode int + Title string + Type string + Warnings json.RawMessage + func (e *Error) Error() string + func (e *Error) Is(target error) bool + type GetCertificateHistoryRequest struct + EnrollmentID int + func (r GetCertificateHistoryRequest) Validate() error + type GetCertificateHistoryResponse struct + Certificates []HistoryCertificate + type GetChangeHistoryRequest struct + EnrollmentID int + func (r GetChangeHistoryRequest) Validate() error + type GetChangeHistoryResponse struct + Changes []ChangeHistory + type GetChangeRequest struct + ChangeID int + EnrollmentID int + func (c GetChangeRequest) Validate() error + type GetChangeStatusRequest struct + ChangeID int + EnrollmentID int + func (c GetChangeStatusRequest) Validate() error + type GetDVHistoryRequest struct + EnrollmentID int + func (r GetDVHistoryRequest) Validate() error + type GetDVHistoryResponse struct + Results []HistoryResult + type GetDeploymentRequest struct + EnrollmentID int + func (c GetDeploymentRequest) Validate() error + type GetDeploymentScheduleRequest struct + ChangeID int + EnrollmentID int + func (c GetDeploymentScheduleRequest) Validate() error + type GetEnrollmentRequest struct + EnrollmentID int + func (e GetEnrollmentRequest) Validate() error + type GetEnrollmentResponse Enrollment + type GetProductionDeploymentResponse Deployment + type GetStagingDeploymentResponse Deployment + type HistoryCertificate struct + DeploymentStatus string + Geography string + MultiStackedCertificates []CertificateObject + PrimaryCertificate CertificateObject + RA string + Slots []int + StagingStatus string + Type string + type HistoryResult struct + Domain string + DomainHistory []DomainHistory + type ListDeploymentsRequest struct + EnrollmentID int + func (c ListDeploymentsRequest) Validate() error + type ListDeploymentsResponse struct + Production *Deployment + Staging *Deployment + type ListEnrollmentsRequest struct + ContractID string + func (e ListEnrollmentsRequest) Validate() error + type ListEnrollmentsResponse struct + Enrollments []Enrollment + type Mock struct + func (m *Mock) AcknowledgeChangeManagement(ctx context.Context, r AcknowledgementRequest) error + func (m *Mock) AcknowledgeDVChallenges(ctx context.Context, r AcknowledgementRequest) error + func (m *Mock) AcknowledgePostVerificationWarnings(ctx context.Context, r AcknowledgementRequest) error + func (m *Mock) AcknowledgePreVerificationWarnings(ctx context.Context, r AcknowledgementRequest) error + func (m *Mock) CancelChange(ctx context.Context, r CancelChangeRequest) (*CancelChangeResponse, error) + func (m *Mock) CreateEnrollment(ctx context.Context, r CreateEnrollmentRequest) (*CreateEnrollmentResponse, error) + func (m *Mock) GetCertificateHistory(ctx context.Context, r GetCertificateHistoryRequest) (*GetCertificateHistoryResponse, error) + func (m *Mock) GetChangeDeploymentInfo(ctx context.Context, r GetChangeRequest) (*ChangeDeploymentInfoResponse, error) + func (m *Mock) GetChangeHistory(ctx context.Context, r GetChangeHistoryRequest) (*GetChangeHistoryResponse, error) + func (m *Mock) GetChangeLetsEncryptChallenges(ctx context.Context, r GetChangeRequest) (*DVArray, error) + func (m *Mock) GetChangeManagementInfo(ctx context.Context, r GetChangeRequest) (*ChangeManagementInfoResponse, error) + func (m *Mock) GetChangePostVerificationWarnings(ctx context.Context, r GetChangeRequest) (*PostVerificationWarnings, error) + func (m *Mock) GetChangePreVerificationWarnings(ctx context.Context, r GetChangeRequest) (*PreVerificationWarnings, error) + func (m *Mock) GetChangeStatus(ctx context.Context, r GetChangeStatusRequest) (*Change, error) + func (m *Mock) GetChangeThirdPartyCSR(ctx context.Context, r GetChangeRequest) (*ThirdPartyCSRResponse, error) + func (m *Mock) GetDVHistory(ctx context.Context, r GetDVHistoryRequest) (*GetDVHistoryResponse, error) + func (m *Mock) GetDeploymentSchedule(ctx context.Context, r GetDeploymentScheduleRequest) (*DeploymentSchedule, error) + func (m *Mock) GetEnrollment(ctx context.Context, r GetEnrollmentRequest) (*GetEnrollmentResponse, error) + func (m *Mock) GetProductionDeployment(ctx context.Context, r GetDeploymentRequest) (*GetProductionDeploymentResponse, error) + func (m *Mock) GetStagingDeployment(ctx context.Context, r GetDeploymentRequest) (*GetStagingDeploymentResponse, error) + func (m *Mock) ListDeployments(ctx context.Context, r ListDeploymentsRequest) (*ListDeploymentsResponse, error) + func (m *Mock) ListEnrollments(ctx context.Context, r ListEnrollmentsRequest) (*ListEnrollmentsResponse, error) + func (m *Mock) RemoveEnrollment(ctx context.Context, r RemoveEnrollmentRequest) (*RemoveEnrollmentResponse, error) + func (m *Mock) UpdateChange(ctx context.Context, r UpdateChangeRequest) (*UpdateChangeResponse, error) + func (m *Mock) UpdateDeploymentSchedule(ctx context.Context, r UpdateDeploymentScheduleRequest) (*UpdateDeploymentScheduleResponse, error) + func (m *Mock) UpdateEnrollment(ctx context.Context, r UpdateEnrollmentRequest) (*UpdateEnrollmentResponse, error) + func (m *Mock) UploadThirdPartyCertAndTrustChain(ctx context.Context, r UploadThirdPartyCertAndTrustChainRequest) error + type NetworkConfiguration struct + ClientMutualAuthentication *ClientMutualAuthentication + DNSNameSettings *DNSNameSettings + DisallowedTLSVersions []string + Geography string + MustHaveCiphers string + OCSPStapling OCSPStapling + PreferredCiphers string + QuicEnabled bool + SNIOnly bool + SecureNetwork string + func (n NetworkConfiguration) Validate() error + type OCSP struct + Enabled *bool + type OCSPStapling string + const OCSPStaplingNotSet + const OCSPStaplingOff + const OCSPStaplingOn + type Option func(*cps) + type Org struct + AddressLineOne string + AddressLineTwo string + City string + Country string + Name string + Phone string + PostalCode string + Region string + type PendingCertificate struct + CertificateType string + FullCertificate string + KeyAlgorithm string + OCSPStapled string + OCSPURIs []string + SignatureAlgorithm string + type PendingChange struct + ChangeType string + Location string + type PendingNetworkConfiguration struct + DNSNameSettings *DNSNameSettings + DisallowedTLSVersions []string + MustHaveCiphers string + NetworkType string + OCSPStapling string + PreferredCiphers string + QUICEnabled string + SNIOnly string + type PendingState struct + PendingCertificates []PendingCertificate + PendingNetworkConfiguration PendingNetworkConfiguration + type PostVerificationWarnings struct + Warnings string + type PreVerificationWarnings struct + Warnings string + type RemoveEnrollmentRequest struct + AllowCancelPendingChanges *bool + DeployNotAfter string + DeployNotBefore string + EnrollmentID int + func (e RemoveEnrollmentRequest) Validate() error + type RemoveEnrollmentResponse struct + Changes []string + Enrollment string + type StatusInfo struct + DeploymentSchedule *DeploymentSchedule + Description string + Error *StatusInfoError + State string + Status string + type StatusInfoError struct + Code string + Description string + Timestamp string + type ThirdParty struct + ExcludeSANS bool + type ThirdPartyCSRResponse struct + CSRs []CertSigningRequest + type ThirdPartyCertificates struct + CertificatesAndTrustChains []CertificateAndTrustChain + func (r ThirdPartyCertificates) Validate() error + type UpdateChangeRequest struct + AllowedInputTypeParam AllowedInputType + ChangeID int + EnrollmentID int + func (c UpdateChangeRequest) Validate() error + type UpdateChangeResponse struct + Change string + type UpdateDeploymentScheduleRequest struct + ChangeID int + EnrollmentID int + func (c UpdateDeploymentScheduleRequest) Validate() error + type UpdateDeploymentScheduleResponse struct + Change string + type UpdateEnrollmentRequest struct + AllowCancelPendingChanges *bool + AllowStagingBypass *bool + DeployNotAfter string + DeployNotBefore string + EnrollmentID int + ForceRenewal *bool + RenewalDateCheckOverride *bool + func (e UpdateEnrollmentRequest) Validate() error + type UpdateEnrollmentResponse struct + Changes []string + Enrollment string + ID int + type UploadThirdPartyCertAndTrustChainRequest struct + Certificates ThirdPartyCertificates + ChangeID int + EnrollmentID int + func (r UploadThirdPartyCertAndTrustChainRequest) Validate() error + type ValidationMessage struct + Message string + MessageCode string + type ValidationRecord struct + Authorities []string + Hostname string + Port string + ResolvedIP []string + TriedIP string + URL string + UsedIP string + type ValidationResult struct + Errors []ValidationMessage + Warnings []ValidationMessage Other modules containing this package github.com/akamai/AkamaiOPEN-edgegrid-golang/v2 github.com/akamai/AkamaiOPEN-edgegrid-golang/v3 github.com/akamai/AkamaiOPEN-edgegrid-golang/v4 github.com/akamai/AkamaiOPEN-edgegrid-golang/v5 github.com/akamai/AkamaiOPEN-edgegrid-golang/v6 github.com/akamai/AkamaiOPEN-edgegrid-golang/v7 github.com/akamai/AkamaiOPEN-edgegrid-golang/v8