Documentation ¶
Overview ¶
Copyright 2018 F5 Networks
Licensed 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.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Name string `json:"-" yaml:"-"` Image string `json:"image" yaml:"image"` Tag string `json:"version" yaml:"version"` Command string `json:"command,omitempty" yaml:"command,omitempty"` Args variables.Args `json:"args,omitempty" yaml:"args,omitempty"` Env variables.Env `json:"env,omitempty" yaml:"env,omitempty"` }
type ActionResult ¶
type ActionResult struct { Name string `json:"step_name" yaml:"step_name"` Result ActionStatus `json:"result" yaml:"result"` ReturnCode int `json:"rc" yaml:"rc"` Message string `json:"message" yaml:"message"` NotifyStatus string `json:"notify_status,omitempty" yaml:"notify_status,omitempty"` Duration float64 `json:"duration_seconds" yaml:"duration_seconds"` Context variables.Context `json:"context" yaml:"context"` }
func (*ActionResult) UnmarshalJSON ¶
func (a *ActionResult) UnmarshalJSON(b []byte) (err error)
type ActionStatus ¶
type ActionStatus int
const ( ACTION_INVALID ActionStatus = iota ACTION_SUCCESS ACTION_FAIL ACTION_FAILURE ACTION_ABORT )
func (ActionStatus) MarshalJSON ¶
func (as ActionStatus) MarshalJSON() ([]byte, error)
func (ActionStatus) String ¶
func (as ActionStatus) String() string
func (*ActionStatus) UnmarshalJSON ¶
func (as *ActionStatus) UnmarshalJSON(b []byte) (err error)
Click to show internal directories.
Click to hide internal directories.