Versions in this module Expand all Collapse all v0 v0.7.4 Feb 28, 2019 v0.7.3 Jan 28, 2019 v0.7.2 Jan 28, 2019 v0.7.1 Jan 28, 2019 v0.7.0 Jan 26, 2019 Changes in this version + const APIParameterLocationBody + const APIParameterLocationCookie + const APIParameterLocationHeader + const APIParameterLocationQuery + const APIParameterTypeBoolean + const APIParameterTypeInteger + const APIParameterTypeJson + const APIParameterTypeNumber + const APIParameterTypeString + const APIParameterTypeXml + const CacheResourceOptionBypassCache + const CacheResourceOptionCache + const CacheResourceOptionHonorOriginCacheControl + const CacheResourceOptionHonorOriginCacheControlAndExpires + const CacheResourceOptionHonorOriginExpires + const CacheResourceOptionNoStore + const MaxAgeUnitDays + const MaxAgeUnitHours + const MaxAgeUnitMinutes + const MaxAgeUnitSeconds + const StatusActive + const StatusDeactivated + const StatusFailed + const StatusPending + var Config edgegrid.Config + func Init(config edgegrid.Config) + func IsActive(endpoint *Endpoint, network string) bool + type APIParameterLocationValue string + type APIParameterTypeValue string + type APIPrivacyResource struct + Notes string + Public bool + type APIPrivacySettings struct + Public bool + Resources map[int]APIPrivacyResource + type AcgPair []struct + type ActivateEndpointOptions struct + APIEndPointId int + VersionNumber int + type Activation struct + Networks []string + Notes string + NotificationRecipients []string + func ActivateEndpoint(options *ActivateEndpointOptions, activation *Activation) (*Activation, error) + func DeactivateEndpoint(options *ActivateEndpointOptions, activation *Activation) (*Activation, error) + type CORSSetings struct + AllowCredentials bool + AllowedHeaders []string + AllowedMethods []MethodValue + AllowedOrigins []string + Enabled bool + ExposedHeaders []string + PreflightMaxAge int + type CacheResource struct + MaxAge *MaxAge + Option CacheResourceOptionValue + ServeStale bool + type CacheResourceOptionValue string + type CacheSettings struct + DownstreamCaching DownstreamCaching + Enabled bool + ErrorCaching ErrorCaching + MaxAge *MaxAge + Option string + Resources map[int]CacheResource + ServeStale bool + type Category struct + APICategoryDescription string + APICategoryID int + APICategoryName string + CreateDate string + CreatedBy string + Link string + LockVersion int + UpdateDate string + UpdatedBy string + type CloneVersionOptions struct + EndpointId int + Version int + type CompressResponseValue string + const CompressResponseAlways + const CompressResponseNever + const CompressResponseSameAsOrigin + type CreateEndpointFromFileOptions struct + ContractId string + File string + Format string + GroupId int + type CreateEndpointOptions struct + BasePath string + ContractId string + GroupId int + Hostnames []string + Name string + type DownstreamCaching struct + Headers string + Lifetime string + MarkAsPrivate bool + MaxAge *MaxAge + Option string + type Endpoint struct + APICategoryIds []int + APIEndPointHosts []string + APIEndPointID int + APIEndPointLocked bool + APIEndPointName string + APIEndPointScheme string + APIResourceBaseInfo []*ResourceBaseInfo + APIResources *Resources + AkamaiSecurityRestrictions *SecurityRestrictions + BasePath string + ClonedFromVersion *int + ConsumeType string + ContractID string + CreateDate string + CreatedBy string + Description string + GroupID int + ProductionStatus string + ProductionVersion *VersionSummary + ProtectedByAPIKey bool + SecurityScheme *SecurityScheme + StagingStatus string + StagingVersion *VersionSummary + UpdateDate string + UpdatedBy string + VersionNumber int + func CloneVersion(options *CloneVersionOptions) (*Endpoint, error) + func CreateEndpoint(options *CreateEndpointOptions) (*Endpoint, error) + func CreateEndpointFromFile(options *CreateEndpointFromFileOptions) (*Endpoint, error) + func GetVersion(options *GetVersionOptions) (*Endpoint, error) + func ModifyVersion(endpoint *Endpoint) (*Endpoint, error) + func RemoveEndpoint(endpointId int) (*Endpoint, error) + func RemoveVersion(options *RemoveVersionOptions) (*Endpoint, error) + func UpdateEndpointFromFile(options *UpdateEndpointFromFileOptions) (*Endpoint, error) + type EndpointList struct + APIEndPoints Endpoints + Links Links + Page int + PageSize int + TotalSize int + func (list *EndpointList) ListEndpoints(options *ListEndpointOptions) error + type Endpoints []Endpoint + type ErrorCaching struct + Enabled bool + MaxAge *MaxAge + PreserveStale bool + type GetVersionOptions struct + EndpointId int + Version int + type GzipSettings struct + CompressResponse CompressResponseValue + type ImportResult struct + APIEndpointDetails Endpoint + Problems Problems + type JWTClaim struct + Name string + Required bool + Type string + Validate bool + Value []string + type JWTSettings struct + Enabled bool + Resources map[int]JWTSettingsResource + Settings struct{ ... } + type JWTSettingsLocationValue string + const JWTSettingsLocationCookie + const JWTSettingsLocationHeader + const JWTSettingsLocationQuery + type JWTSettingsResource struct + Enabled bool + Notes *string + type Links []struct + type ListEndpointOptions struct + Category string + Contains string + ContractId string + GroupId int + Page int + PageSize int + Show string + SortBy string + SortOrder string + VersionPreference string + type ListVersionsOptions struct + EndpointId int + type MaxAge struct + Duration int + Unit string + type MaxAgeUnitValue string + type Method struct + APIParameters []Parameters + APIResourceMethod MethodValue + APIResourceMethodID int + APIResourceMethodLogicID int + type MethodValue string + const MethodDelete + const MethodGet + const MethodHead + const MethodOptions + const MethodPatch + const MethodPost + const MethodPut + type Methods []Method + type Parameters struct + APIChildParameters []*Parameters + APIParamLogicID int + APIParameterID int + APIParameterLocation APIParameterLocationValue + APIParameterName string + APIParameterNotes *string + APIParameterRequired bool + APIParameterRestriction struct{ ... } + APIParameterType APIParameterTypeValue + Array bool + type Problem struct + Detail string + Errors Problems + Instance string + Status int + Title string + Type string + type Problems []*Problem + type RemoveVersionOptions struct + EndpointId int + VersionNumber int + type Resource struct + APIResourceClonedFromID *int + APIResourceID int + APIResourceLogicID int + APIResourceMethods Methods + APIResourceName string + CreateDate string + CreatedBy string + Description string + LockVersion int + ResourcePath string + UpdateDate string + UpdatedBy string + type ResourceBaseInfo struct + APIResourceClonedFromID *int + APIResourceID int + APIResourceLogicID int + APIResourceName string + CreateDate string + CreatedBy string + Description *string + Link *string + LockVersion int + Private bool + ResourcePath string + UpdateDate string + UpdatedBy string + type ResourceSettings struct + InheritsFromEndpoint bool + Methods []MethodValue + Path string + type Resources []Resource + func GetResources(endpointId int, version int) (*Resources, error) + type RsaPublicKey struct + Content string + Name string + type SecurityRestrictions struct + MaxBodySize int + MaxDocDepth int + MaxElementNameLength int + MaxIntegerValue int + MaxJsonxmlElement int + MaxStringLength int + PositiveSecurityEnabled int + type SecurityScheme struct + SecuritySchemeDetail *SecuritySchemeDetail + SecuritySchemeType string + type SecuritySchemeDetail struct + APIKeyLocation string + APIKeyName string + type StatusValue string + type UpdateEndpointFromFileOptions struct + EndpointId int + File string + Format string + Version int + type Version struct + APIEndPointVersionID int + AvailableActions []string + BasePath string + BasedOn *int + CreateDate string + CreatedBy string + Description *string + IsVersionLocked bool + LockVersion int + ProductionDate *string + ProductionStatus *StatusValue + StagingDate *string + StagingStatus *StatusValue + UpdateDate string + UpdatedBy string + VersionNumber int + type VersionSummary struct + Status StatusValue + VersionNumber int + type Versions struct + APIEndPointID int + APIEndPointName string + APIVersions []Version + func ListVersions(options *ListVersionsOptions) (*Versions, error)