Documentation
¶
Index ¶
- Constants
- type HTTPExecutor
- func (e *HTTPExecutor) CheckConfig(ctx context.Context, args []v1alpha1.MeasureArgs, judgement v1alpha1.Judgement) error
- func (e *HTTPExecutor) InitialData(ctx context.Context, args []v1alpha1.MeasureArgs) (string, error)
- func (e *HTTPExecutor) Measure(ctx context.Context, args []v1alpha1.MeasureArgs, judgement v1alpha1.Judgement, ...) error
Constants ¶
View Source
const ( HostArgsKey = "host" PortArgsKey = "port" SchemeArgsKey = "scheme" MethodArgsKey = "method" PathArgsKey = "path" HeaderArgsKey = "header" BodyArgsKey = "body" TimeoutArgsKey = "timeout" SchemeHTTP = "HTTP" SchemeHTTPS = "HTTPS" MethodGET = "GET" MethodPOST = "POST" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPExecutor ¶
type HTTPExecutor struct { }
func NewHTTPExecutor ¶
func NewHTTPExecutor(ctx context.Context) (*HTTPExecutor, error)
func (*HTTPExecutor) CheckConfig ¶
func (e *HTTPExecutor) CheckConfig(ctx context.Context, args []v1alpha1.MeasureArgs, judgement v1alpha1.Judgement) error
func (*HTTPExecutor) InitialData ¶
func (e *HTTPExecutor) InitialData(ctx context.Context, args []v1alpha1.MeasureArgs) (string, error)
Click to show internal directories.
Click to hide internal directories.