Versions in this module Expand all Collapse all v1 v1.0.0 Aug 16, 2022 Changes in this version + type ActionDescription struct + Category *string + Description string + Icon *string + Id string + Kind ActionDescriptionKind + Label string + Parameters []ActionParameter + Prepare MutatingEndpointReference + Start MutatingEndpointReference + Status *MutatingEndpointReferenceWithCallInterval + Stop *MutatingEndpointReference + TargetType *string + TimeControl ActionDescriptionTimeControl + Version string + type ActionDescriptionKind string + const Attack + const Check + const LoadTest + const Other + type ActionDescriptionTimeControl string + const External + const Instantaneous + const Internal + type ActionKitError struct + Detail *string + Instance *string + Title string + Type *string + type ActionList struct + Actions []DescribingEndpointReference + type ActionListResponse struct + func (t *ActionListResponse) FromActionKitError(v ActionKitError) error + func (t *ActionListResponse) FromActionList(v ActionList) error + func (t *ActionListResponse) UnmarshalJSON(b []byte) error + func (t ActionListResponse) AsActionKitError() (ActionKitError, error) + func (t ActionListResponse) AsActionList() (ActionList, error) + func (t ActionListResponse) MarshalJSON() ([]byte, error) + type ActionParameter struct + AcceptedFileTypes *[]string + Advanced *bool + DefaultValue *string + Description *string + Label string + Name string + Options *[]ParameterOption + Order *int + Required *bool + Type ActionParameterType + type ActionParameterType string + const Boolean + const Duration + const File + const Integer + const KeyValue + const Password + const Percentage + const String + const String1 + const StringArray + type ActionState = map[string]interface + type ActionStatusRequestBody struct + State ActionState + type ActionStatusResponse struct + func (t *ActionStatusResponse) FromActionKitError(v ActionKitError) error + func (t *ActionStatusResponse) FromStatusResult(v StatusResult) error + func (t *ActionStatusResponse) UnmarshalJSON(b []byte) error + func (t ActionStatusResponse) AsActionKitError() (ActionKitError, error) + func (t ActionStatusResponse) AsStatusResult() (StatusResult, error) + func (t ActionStatusResponse) MarshalJSON() ([]byte, error) + type Artifact struct + Data string + Label string + type Artifacts = []Artifact + type DescribeActionResponse struct + func (t *DescribeActionResponse) FromActionDescription(v ActionDescription) error + func (t *DescribeActionResponse) FromActionKitError(v ActionKitError) error + func (t *DescribeActionResponse) UnmarshalJSON(b []byte) error + func (t DescribeActionResponse) AsActionDescription() (ActionDescription, error) + func (t DescribeActionResponse) AsActionKitError() (ActionKitError, error) + func (t DescribeActionResponse) MarshalJSON() ([]byte, error) + type DescribingEndpointReference struct + Method DescribingEndpointReferenceMethod + Path string + type DescribingEndpointReferenceMethod string + const Get + type Message struct + Level *MessageLevel + Message string + type MessageLevel string + const Debug + const Error + const Info + const Warn + type Messages = []Message + type MutatingEndpointReference struct + Method MutatingHttpMethod + Path string + type MutatingEndpointReferenceWithCallInterval struct + CallInterval *string + Method MutatingHttpMethod + Path string + type MutatingHttpMethod string + const Delete + const Post + const Put + type ParameterOption struct + Label string + Value string + type PrepareActionRequestBody struct + Config map[string]interface{} + Target *Target + type PrepareActionResponse struct + func (t *PrepareActionResponse) FromActionKitError(v ActionKitError) error + func (t *PrepareActionResponse) FromPrepareResult(v PrepareResult) error + func (t *PrepareActionResponse) UnmarshalJSON(b []byte) error + func (t PrepareActionResponse) AsActionKitError() (ActionKitError, error) + func (t PrepareActionResponse) AsPrepareResult() (PrepareResult, error) + func (t PrepareActionResponse) MarshalJSON() ([]byte, error) + type PrepareResult struct + Artifacts *Artifacts + Messages *Messages + State ActionState + type StartActionRequestBody struct + State ActionState + type StartActionResponse struct + func (t *StartActionResponse) FromActionKitError(v ActionKitError) error + func (t *StartActionResponse) FromStartResult(v StartResult) error + func (t *StartActionResponse) UnmarshalJSON(b []byte) error + func (t StartActionResponse) AsActionKitError() (ActionKitError, error) + func (t StartActionResponse) AsStartResult() (StartResult, error) + func (t StartActionResponse) MarshalJSON() ([]byte, error) + type StartResult struct + Artifacts *Artifacts + Messages *Messages + State *ActionState + type StatusResult struct + Artifacts *Artifacts + Completed bool + Messages *Messages + State *ActionState + type StopActionRequestBody struct + State ActionState + type StopActionResponse struct + func (t *StopActionResponse) FromActionKitError(v ActionKitError) error + func (t *StopActionResponse) FromStopResult(v StopResult) error + func (t *StopActionResponse) UnmarshalJSON(b []byte) error + func (t StopActionResponse) AsActionKitError() (ActionKitError, error) + func (t StopActionResponse) AsStopResult() (StopResult, error) + func (t StopActionResponse) MarshalJSON() ([]byte, error) + type StopResult struct + Artifacts *Artifacts + Messages *Messages + type Target struct + Attributes map[string][]string + Name string Other modules containing this package github.com/steadybit/action-kit/go/action_kit_api/v2