blob: 7eacfdf7da0982b84878bdaa0586f66ea69d7535 [file] [log] [blame]
package totest
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
import "github.com/apache/trafficcontrol/v8/lib/go-tc"
// TrafficControl - maps to the tc-fixtures.json file
type TrafficControl struct {
ASNs []tc.ASNV5 `json:"asns"`
CDNs []tc.CDNV5 `json:"cdns"`
CDNLocks []tc.CDNLock `json:"cdnlocks"`
CacheGroups []tc.CacheGroupNullableV5 `json:"cachegroups"`
Capabilities []tc.ServerCapabilityV5 `json:"capability"`
Coordinates []tc.CoordinateV5 `json:"coordinates"`
DeliveryServicesRegexes []tc.DeliveryServiceRegexesTest `json:"deliveryServicesRegexes"`
DeliveryServiceRequests []tc.DeliveryServiceRequestV5 `json:"deliveryServiceRequests"`
DeliveryServiceRequestComments []tc.DeliveryServiceRequestCommentV5 `json:"deliveryServiceRequestComments"`
DeliveryServices []tc.DeliveryServiceV5 `json:"deliveryservices"`
DeliveryServicesRequiredCapabilities []tc.DeliveryServicesRequiredCapability `json:"deliveryservicesRequiredCapabilities"`
DeliveryServiceServerAssignments []tc.DeliveryServiceServerV5 `json:"deliveryServiceServerAssignments"`
TopologyBasedDeliveryServicesRequiredCapabilities []tc.DeliveryServicesRequiredCapability `json:"topologyBasedDeliveryServicesRequiredCapabilities"`
Divisions []tc.DivisionV5 `json:"divisions"`
Federations []tc.CDNFederationV5 `json:"federations"`
FederationResolvers []tc.FederationResolverV5 `json:"federation_resolvers"`
Jobs []tc.InvalidationJobCreateV4 `json:"jobs"`
Origins []tc.OriginV5 `json:"origins"`
Profiles []tc.ProfileV5 `json:"profiles"`
Parameters []tc.ParameterV5 `json:"parameters"`
ProfileParameters []tc.ProfileParameterV5 `json:"profileParameters"`
PhysLocations []tc.PhysLocationV5 `json:"physLocations"`
Regions []tc.RegionV5 `json:"regions"`
Roles []tc.RoleV4 `json:"roles"`
Servers []tc.ServerV5 `json:"servers"`
ServerServerCapabilities []tc.ServerServerCapabilityV5 `json:"serverServerCapabilities"`
ServerCapabilities []tc.ServerCapabilityV5 `json:"serverCapabilities"`
ServiceCategories []tc.ServiceCategoryV5 `json:"serviceCategories"`
Statuses []tc.StatusV5 `json:"statuses"`
StaticDNSEntries []tc.StaticDNSEntryV5 `json:"staticdnsentries"`
StatsSummaries []tc.StatsSummaryV5 `json:"statsSummaries"`
Tenants []tc.TenantV5 `json:"tenants"`
ServerCheckExtensions []tc.ServerCheckExtensionNullable `json:"servercheck_extensions"`
Topologies []tc.TopologyV5 `json:"topologies"`
Types []tc.TypeV5 `json:"types"`
SteeringTargets []tc.SteeringTargetNullable `json:"steeringTargets"`
Serverchecks []tc.ServercheckRequestNullable `json:"serverchecks"`
Users []tc.UserV4 `json:"users"`
InvalidationJobs []tc.InvalidationJobCreateV4 `json:"invalidationJobs"`
InvalidationJobsRefetch []tc.InvalidationJobCreateV4 `json:"invalidationJobsRefetch"`
}