shared

package
v0.0.0-...-540bb61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SetConditionActionV2KeyTypeAdd    string = "add"
	SetConditionActionV2KeyTypeRemove string = "remove"

	SetConditionActionV2KeyType    string = "type"
	SetConditionActionV2KeyAction  string = "action"
	SetConditionActionV2KeyStatus  string = "status"
	SetConditionActionV2KeyReason  string = "reason"
	SetConditionActionV2KeyMessage string = "message"
	SetConditionActionV2KeyHash    string = "hash"
)

Variables

This section is empty.

Functions

func RemoveConditionActionV2

func RemoveConditionActionV2(actionReason string, conditionType api.ConditionType) api.Action

func RemoveMemberConditionActionV2

func RemoveMemberConditionActionV2(actionReason string, conditionType api.ConditionType, group api.ServerGroup, member string) api.Action

func UpdateConditionActionV2

func UpdateConditionActionV2(actionReason string, conditionType api.ConditionType, status bool, reason, message, hash string) api.Action

func UpdateMemberConditionActionV2

func UpdateMemberConditionActionV2(actionReason string, conditionType api.ConditionType, group api.ServerGroup, member string, status bool, reason, message, hash string) api.Action

func WithPredefinedMember

func WithPredefinedMember(id string) api.MemberStatus

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL