Documentation ¶
Index ¶
- func ApiDiscovery(w http.ResponseWriter, r *http.Request)
- func AuthenticateRequest(r *http.Request, w http.ResponseWriter) error
- func ContentDeliveryNetworkCreateV1(w http.ResponseWriter, r *http.Request)
- func ContentDeliveryNetworkDeleteV1(w http.ResponseWriter, r *http.Request)
- func ContentDeliveryNetworkGetV1(w http.ResponseWriter, r *http.Request)
- func ContentDeliveryNetworkUpdateV1(w http.ResponseWriter, r *http.Request)
- func GetVersion(w http.ResponseWriter, r *http.Request)
- func Index(w http.ResponseWriter, r *http.Request)
- func LBCreateV1(w http.ResponseWriter, r *http.Request)
- func LBDeleteV1(w http.ResponseWriter, r *http.Request)
- func LBGetV1(w http.ResponseWriter, r *http.Request)
- func LBUpdateV1(w http.ResponseWriter, r *http.Request)
- func Logger(inner http.Handler, name string) http.Handler
- func NewRouter() *mux.Router
- func UpdateLBV1(lb *Lbv1, id string, name string, backends []string, simulateFailure bool, ...)
- type ContentDeliveryNetworkV1
- type ContentDeliveryNetworkV1ArrayOfObjectsExample
- type ContentDeliveryNetworkV1ObjectNestedSchemeProperty
- type ContentDeliveryNetworkV1ObjectNestedSchemePropertyObjectProperty
- type Lbv1
- type ObjectProperty
- type Route
- type Routes
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiDiscovery ¶ added in v0.1.8
func ApiDiscovery(w http.ResponseWriter, r *http.Request)
func AuthenticateRequest ¶ added in v0.1.8
func AuthenticateRequest(r *http.Request, w http.ResponseWriter) error
func ContentDeliveryNetworkCreateV1 ¶
func ContentDeliveryNetworkCreateV1(w http.ResponseWriter, r *http.Request)
func ContentDeliveryNetworkDeleteV1 ¶
func ContentDeliveryNetworkDeleteV1(w http.ResponseWriter, r *http.Request)
func ContentDeliveryNetworkGetV1 ¶
func ContentDeliveryNetworkGetV1(w http.ResponseWriter, r *http.Request)
func ContentDeliveryNetworkUpdateV1 ¶
func ContentDeliveryNetworkUpdateV1(w http.ResponseWriter, r *http.Request)
func GetVersion ¶
func GetVersion(w http.ResponseWriter, r *http.Request)
func LBCreateV1 ¶ added in v0.3.0
func LBCreateV1(w http.ResponseWriter, r *http.Request)
func LBDeleteV1 ¶ added in v0.3.0
func LBDeleteV1(w http.ResponseWriter, r *http.Request)
func LBUpdateV1 ¶ added in v0.3.0
func LBUpdateV1(w http.ResponseWriter, r *http.Request)
Types ¶
type ContentDeliveryNetworkV1 ¶ added in v0.3.1
type ContentDeliveryNetworkV1 struct { Id string `json:"id,omitempty"` Label string `json:"label"` Ips []string `json:"ips"` Hostnames []string `json:"hostnames"` ExampleInt int32 `json:"exampleInt,omitempty"` ExampleNumber float32 `json:"exampleNumber,omitempty"` ExampleBoolean bool `json:"example_boolean,omitempty"` ObjectProperty *ObjectProperty `json:"object_property"` Computed string `json:"computed"` ComputedWithDefault string `json:"computed_with_default"` OptionalComputed string `json:"optional_computed"` OptionalComputedWithDefault string `json:"optional_computed_with_default"` OptionalProperty string `json:"optional_property"` ObjectNestedSchemeProperty *ContentDeliveryNetworkV1ObjectNestedSchemeProperty `json:"object_nested_scheme_property,omitempty"` ArrayOfObjectsExample []ContentDeliveryNetworkV1ArrayOfObjectsExample `json:"arrayOfObjectsExample"` }
type ContentDeliveryNetworkV1ArrayOfObjectsExample ¶ added in v0.6.0
type ContentDeliveryNetworkV1ObjectNestedSchemeProperty ¶ added in v0.3.1
type ContentDeliveryNetworkV1ObjectNestedSchemeProperty struct { Name string `json:"name,omitempty"` ObjectProperty *ContentDeliveryNetworkV1ObjectNestedSchemePropertyObjectProperty `json:"object_property"` }
type ContentDeliveryNetworkV1ObjectNestedSchemePropertyObjectProperty ¶ added in v0.16.0
type ContentDeliveryNetworkV1ObjectNestedSchemePropertyObjectProperty struct {
Account string `json:"account,omitempty"`
}
type Lbv1 ¶ added in v0.3.0
type Lbv1 struct { Id string `json:"id,omitempty"` Name string `json:"name"` Backends []string `json:"backends"` TimeToProcess int32 `json:"timeToProcess"` SimulateFailure bool `json:"simulate_failure"` // lb resource status Status string `json:"status,omitempty"` // @deprecated NewStatus *Status `json:"newStatus,omitempty"` }
type ObjectProperty ¶ added in v0.3.1
Source Files ¶
- auth.go
- cdn.go
- content_delivery_network.go
- content_delivery_network_v1_array_of_objects_example.go
- content_delivery_network_v1_object_nested_scheme_property.go
- content_delivery_network_v1_object_nested_scheme_property_object_property.go
- default_api.go
- http_utils.go
- lb_api.go
- lbv1.go
- logger.go
- object_property.go
- routers.go
- status.go
Click to show internal directories.
Click to hide internal directories.