Documentation
¶
Index ¶
- type ApplicationResponse
- type Client
- func (c *Client) Clone(ctx context.Context, name string, id int64) error
- func (c *Client) Create(ctx context.Context, req *CreateRequest) (EdgeApplicationsResponse, error)
- func (c *Client) CreateCacheEdgeApplication(ctx context.Context, req *CreateCacheSettingsRequest, edgeApplicationID int64) (sdk.CacheSetting, error)
- func (c *Client) CreateCacheSettingsNextApplication(ctx context.Context, req *CreateCacheSettingsRequest, applicationID int64) (sdk.CacheSetting, error)
- func (c *Client) CreateFuncInstances(ctx context.Context, req *CreateInstanceRequest, applicationID int64) (sdk.FunctionInstance, error)
- func (c *Client) CreateRulesEngineNextApplication(ctx context.Context, applicationId int64, typeLang string) error
- func (c *Client) CreateRulesEngineRequest(ctx context.Context, edgeApplicationID int64, phase string, ...) (RulesEngineResponse, error)
- func (c *Client) CreateRulesEngineResponse(ctx context.Context, edgeApplicationID int64, phase string, ...) (RulesEngineResponse, error)
- func (c *Client) Delete(ctx context.Context, id int64) error
- func (c *Client) DeleteFunctionInstance(ctx context.Context, appID int64, funcID int64) error
- func (c *Client) DeleteRulesEngineRequest(ctx context.Context, edgeApplicationID int64, phase string, ruleID int64) (int, error)
- func (c *Client) DeleteRulesEngineResponse(ctx context.Context, edgeApplicationID int64, phase string, ruleID int64) (int, error)
- func (c *Client) EdgeFuncInstancesList(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.PaginatedFunctionInstanceList, error)
- func (c *Client) Get(ctx context.Context, id int64) (ApplicationResponse, error)
- func (c *Client) GetFuncInstance(ctx context.Context, edgeApplicationID int64, instanceID int64) (FunctionsInstancesResponse, error)
- func (c *Client) GetRulesDefault(ctx context.Context, applicationID int64, phase string) (int64, error)
- func (c *Client) GetRulesEngineRequest(ctx context.Context, edgeApplicationID, rulesID int64) (RulesEngineResponse, error)
- func (c *Client) GetRulesEngineResponse(ctx context.Context, edgeApplicationID, rulesID int64) (RulesEngineResponse, error)
- func (c *Client) List(ctx context.Context, opts *contracts.ListOptions) (*sdk.PaginatedApplicationList, error)
- func (c *Client) ListCacheEdgeApp(ctx context.Context, edgeApplicationID int64, opts *contracts.ListOptions) ([]sdk.CacheSetting, error)
- func (c *Client) ListRulesEngineRequest(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.PaginatedRequestPhaseRuleList, error)
- func (c *Client) ListRulesEngineResponse(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.PaginatedResponsePhaseRuleList, error)
- func (c *Client) OrderRulesEngineRequest(ctx context.Context, applicationID int64, order []int64) error
- func (c *Client) OrderRulesEngineResponse(ctx context.Context, applicationID int64, order []int64) error
- func (c *Client) Update(ctx context.Context, req *UpdateRequest) (EdgeApplicationsResponse, error)
- func (c *Client) UpdateInstance(ctx context.Context, req *UpdateInstanceRequest, appID int64, instanceID int64) (sdk.FunctionInstance, error)
- func (c *Client) UpdateRulesEngineRequest(ctx context.Context, req *UpdateRulesEngineRequest) (RulesEngineResponse, error)
- func (c *Client) UpdateRulesEngineResponse(ctx context.Context, req *UpdateRulesEngineResponse) (RulesEngineResponse, error)
- type CreateCacheSettingsRequest
- type CreateInstanceRequest
- type CreateRequest
- type CreateRulesEngineRequest
- type CreateRulesEngineResponse
- type DeviceGroupsResponse
- type EdgeApplicationsResponse
- type FunctionsInstancesResponse
- type ResponseCreate
- type RulesEngineResponse
- type UpdateCacheSettingsRequest
- type UpdateInstanceRequest
- type UpdateRequest
- type UpdateRulesEngineRequest
- type UpdateRulesEngineResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplicationResponse ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Create ¶
func (c *Client) Create(ctx context.Context, req *CreateRequest, ) (EdgeApplicationsResponse, error)
func (*Client) CreateCacheEdgeApplication ¶
func (c *Client) CreateCacheEdgeApplication( ctx context.Context, req *CreateCacheSettingsRequest, edgeApplicationID int64, ) (sdk.CacheSetting, error)
func (*Client) CreateCacheSettingsNextApplication ¶
func (c *Client) CreateCacheSettingsNextApplication(ctx context.Context, req *CreateCacheSettingsRequest, applicationID int64) (sdk.CacheSetting, error)
CreateCacheSettingsNextApplication this function creates the necessary Cache Settings for next applications to work correctly on the edge
func (*Client) CreateFuncInstances ¶
func (c *Client) CreateFuncInstances(ctx context.Context, req *CreateInstanceRequest, applicationID int64) (sdk.FunctionInstance, error)
func (*Client) CreateRulesEngineNextApplication ¶
func (*Client) CreateRulesEngineRequest ¶
func (c *Client) CreateRulesEngineRequest(ctx context.Context, edgeApplicationID int64, phase string, req *CreateRulesEngineRequest) (RulesEngineResponse, error)
func (*Client) CreateRulesEngineResponse ¶
func (c *Client) CreateRulesEngineResponse(ctx context.Context, edgeApplicationID int64, phase string, req *CreateRulesEngineResponse) (RulesEngineResponse, error)
func (*Client) DeleteFunctionInstance ¶
func (*Client) DeleteRulesEngineRequest ¶
func (*Client) DeleteRulesEngineResponse ¶
func (*Client) EdgeFuncInstancesList ¶
func (c *Client) EdgeFuncInstancesList(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.PaginatedFunctionInstanceList, error)
func (*Client) GetFuncInstance ¶
func (*Client) GetRulesDefault ¶
func (*Client) GetRulesEngineRequest ¶
func (*Client) GetRulesEngineResponse ¶
func (*Client) List ¶
func (c *Client) List(ctx context.Context, opts *contracts.ListOptions) (*sdk.PaginatedApplicationList, error)
func (*Client) ListCacheEdgeApp ¶
func (c *Client) ListCacheEdgeApp(ctx context.Context, edgeApplicationID int64, opts *contracts.ListOptions) ([]sdk.CacheSetting, error)
func (*Client) ListRulesEngineRequest ¶
func (c *Client) ListRulesEngineRequest(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.PaginatedRequestPhaseRuleList, error)
func (*Client) ListRulesEngineResponse ¶
func (c *Client) ListRulesEngineResponse(ctx context.Context, opts *contracts.ListOptions, edgeApplicationID int64) (*sdk.PaginatedResponsePhaseRuleList, error)
func (*Client) OrderRulesEngineRequest ¶
func (*Client) OrderRulesEngineResponse ¶
func (*Client) Update ¶
func (c *Client) Update(ctx context.Context, req *UpdateRequest) (EdgeApplicationsResponse, error)
func (*Client) UpdateInstance ¶
func (c *Client) UpdateInstance(ctx context.Context, req *UpdateInstanceRequest, appID int64, instanceID int64) (sdk.FunctionInstance, error)
func (*Client) UpdateRulesEngineRequest ¶
func (c *Client) UpdateRulesEngineRequest(ctx context.Context, req *UpdateRulesEngineRequest) (RulesEngineResponse, error)
func (*Client) UpdateRulesEngineResponse ¶
func (c *Client) UpdateRulesEngineResponse(ctx context.Context, req *UpdateRulesEngineResponse) (RulesEngineResponse, error)
type CreateCacheSettingsRequest ¶
type CreateCacheSettingsRequest struct {
sdk.CacheSettingRequest
}
type CreateInstanceRequest ¶
type CreateInstanceRequest struct {
sdk.FunctionInstanceRequest
ApplicationId int64
}
type CreateRequest ¶
type CreateRequest struct {
sdk.ApplicationRequest
}
type CreateRulesEngineRequest ¶
type CreateRulesEngineRequest struct {
sdk.RequestPhaseRuleRequest
}
type CreateRulesEngineResponse ¶
type CreateRulesEngineResponse struct {
sdk.ResponsePhaseRuleRequest
}
type DeviceGroupsResponse ¶
type ResponseCreate ¶
type ResponseCreate interface {
GetId() int64
GetName() string
GetActive() bool
GetApplicationAcceleration() bool
GetCaching() bool
GetDeliveryProtocol() string
GetDeviceDetection() bool
GetEdgeFirewall() bool
GetEdgeFunctions() bool
GetHttpPort() interface{}
GetHttpsPort() interface{}
GetImageOptimization() bool
GetL2Caching() bool
GetLoadBalancer() bool
GetMinimumTlsVersion() string
GetRawLogs() bool
GetWebApplicationFirewall() bool
}
type RulesEngineResponse ¶
type UpdateCacheSettingsRequest ¶
type UpdateCacheSettingsRequest struct {
sdk.ApiPartialUpdateCacheSettingRequest
Id int64
}
type UpdateInstanceRequest ¶
type UpdateInstanceRequest struct {
// sdk.ApplicationUpdateInstanceRequest
sdk.PatchedFunctionInstanceRequest
}
type UpdateRequest ¶
type UpdateRequest struct {
sdk.PatchedApplicationRequest
Id int64
}
type UpdateRulesEngineRequest ¶
type UpdateRulesEngineRequest struct {
sdk.PatchedRequestPhaseRule
IdApplication int64
Phase string
Id int64
}
type UpdateRulesEngineResponse ¶
type UpdateRulesEngineResponse struct {
sdk.PatchedResponsePhaseRuleRequest
IdApplication int64
Phase string
Id int64
}
Click to show internal directories.
Click to hide internal directories.