action

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionState_name = map[int32]string{
		0: "ACTION_STATE_UNSPECIFIED",
		1: "ACTION_STATE_INACTIVE",
		2: "ACTION_STATE_ACTIVE",
	}
	ActionState_value = map[string]int32{
		"ACTION_STATE_UNSPECIFIED": 0,
		"ACTION_STATE_INACTIVE":    1,
		"ACTION_STATE_ACTIVE":      2,
	}
)

Enum value maps for ActionState.

View Source
var (
	ActionFieldName_name = map[int32]string{
		0: "ACTION_FIELD_NAME_UNSPECIFIED",
		1: "ACTION_FIELD_NAME_NAME",
		2: "ACTION_FIELD_NAME_ID",
		3: "ACTION_FIELD_NAME_STATE",
	}
	ActionFieldName_value = map[string]int32{
		"ACTION_FIELD_NAME_UNSPECIFIED": 0,
		"ACTION_FIELD_NAME_NAME":        1,
		"ACTION_FIELD_NAME_ID":          2,
		"ACTION_FIELD_NAME_STATE":       3,
	}
)

Enum value maps for ActionFieldName.

View Source
var (
	FlowState_name = map[int32]string{
		0: "FLOW_STATE_UNSPECIFIED",
		1: "FLOW_STATE_INACTIVE",
		2: "FLOW_STATE_ACTIVE",
	}
	FlowState_value = map[string]int32{
		"FLOW_STATE_UNSPECIFIED": 0,
		"FLOW_STATE_INACTIVE":    1,
		"FLOW_STATE_ACTIVE":      2,
	}
)

Enum value maps for FlowState.

View Source
var File_zitadel_action_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Action

type Action struct {
	Id            string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Details       *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	State         ActionState           `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.action.v1.ActionState" json:"state,omitempty"`
	Name          string                `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Script        string                `protobuf:"bytes,5,opt,name=script,proto3" json:"script,omitempty"`
	Timeout       *durationpb.Duration  `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"`
	AllowedToFail bool                  `protobuf:"varint,7,opt,name=allowed_to_fail,json=allowedToFail,proto3" json:"allowed_to_fail,omitempty"`
	// contains filtered or unexported fields
}

func (*Action) Descriptor deprecated

func (*Action) Descriptor() ([]byte, []int)

Deprecated: Use Action.ProtoReflect.Descriptor instead.

func (*Action) GetAllowedToFail

func (x *Action) GetAllowedToFail() bool

func (*Action) GetDetails

func (x *Action) GetDetails() *object.ObjectDetails

func (*Action) GetId

func (x *Action) GetId() string

func (*Action) GetName

func (x *Action) GetName() string

func (*Action) GetScript

func (x *Action) GetScript() string

func (*Action) GetState

func (x *Action) GetState() ActionState

func (*Action) GetTimeout

func (x *Action) GetTimeout() *durationpb.Duration

func (*Action) ProtoMessage

func (*Action) ProtoMessage()

func (*Action) ProtoReflect

func (x *Action) ProtoReflect() protoreflect.Message

func (*Action) Reset

func (x *Action) Reset()

func (*Action) String

func (x *Action) String() string

type ActionFieldName

type ActionFieldName int32
const (
	ActionFieldName_ACTION_FIELD_NAME_UNSPECIFIED ActionFieldName = 0
	ActionFieldName_ACTION_FIELD_NAME_NAME        ActionFieldName = 1
	ActionFieldName_ACTION_FIELD_NAME_ID          ActionFieldName = 2
	ActionFieldName_ACTION_FIELD_NAME_STATE       ActionFieldName = 3
)

func (ActionFieldName) Descriptor

func (ActionFieldName) Enum

func (x ActionFieldName) Enum() *ActionFieldName

func (ActionFieldName) EnumDescriptor deprecated

func (ActionFieldName) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionFieldName.Descriptor instead.

func (ActionFieldName) Number

func (ActionFieldName) String

func (x ActionFieldName) String() string

func (ActionFieldName) Type

type ActionIDQuery

type ActionIDQuery struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionIDQuery) Descriptor deprecated

func (*ActionIDQuery) Descriptor() ([]byte, []int)

Deprecated: Use ActionIDQuery.ProtoReflect.Descriptor instead.

func (*ActionIDQuery) GetId

func (x *ActionIDQuery) GetId() string

func (*ActionIDQuery) ProtoMessage

func (*ActionIDQuery) ProtoMessage()

func (*ActionIDQuery) ProtoReflect

func (x *ActionIDQuery) ProtoReflect() protoreflect.Message

func (*ActionIDQuery) Reset

func (x *ActionIDQuery) Reset()

func (*ActionIDQuery) String

func (x *ActionIDQuery) String() string

type ActionNameQuery

type ActionNameQuery struct {
	Name   string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Method object.TextQueryMethod `protobuf:"varint,2,opt,name=method,proto3,enum=zitadel.v1.TextQueryMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionNameQuery) Descriptor deprecated

func (*ActionNameQuery) Descriptor() ([]byte, []int)

Deprecated: Use ActionNameQuery.ProtoReflect.Descriptor instead.

func (*ActionNameQuery) GetMethod

func (x *ActionNameQuery) GetMethod() object.TextQueryMethod

func (*ActionNameQuery) GetName

func (x *ActionNameQuery) GetName() string

func (*ActionNameQuery) ProtoMessage

func (*ActionNameQuery) ProtoMessage()

func (*ActionNameQuery) ProtoReflect

func (x *ActionNameQuery) ProtoReflect() protoreflect.Message

func (*ActionNameQuery) Reset

func (x *ActionNameQuery) Reset()

func (*ActionNameQuery) String

func (x *ActionNameQuery) String() string

type ActionState

type ActionState int32
const (
	ActionState_ACTION_STATE_UNSPECIFIED ActionState = 0
	ActionState_ACTION_STATE_INACTIVE    ActionState = 1
	ActionState_ACTION_STATE_ACTIVE      ActionState = 2
)

func (ActionState) Descriptor

func (ActionState) Enum

func (x ActionState) Enum() *ActionState

func (ActionState) EnumDescriptor deprecated

func (ActionState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ActionState.Descriptor instead.

func (ActionState) Number

func (x ActionState) Number() protoreflect.EnumNumber

func (ActionState) String

func (x ActionState) String() string

func (ActionState) Type

type ActionStateQuery

type ActionStateQuery struct {
	State ActionState `protobuf:"varint,1,opt,name=state,proto3,enum=zitadel.action.v1.ActionState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

ActionStateQuery always equals

func (*ActionStateQuery) Descriptor deprecated

func (*ActionStateQuery) Descriptor() ([]byte, []int)

Deprecated: Use ActionStateQuery.ProtoReflect.Descriptor instead.

func (*ActionStateQuery) GetState

func (x *ActionStateQuery) GetState() ActionState

func (*ActionStateQuery) ProtoMessage

func (*ActionStateQuery) ProtoMessage()

func (*ActionStateQuery) ProtoReflect

func (x *ActionStateQuery) ProtoReflect() protoreflect.Message

func (*ActionStateQuery) Reset

func (x *ActionStateQuery) Reset()

func (*ActionStateQuery) String

func (x *ActionStateQuery) String() string

type Flow

type Flow struct {

	// id of the flow type
	Type           *FlowType             `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Details        *object.ObjectDetails `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	State          FlowState             `protobuf:"varint,3,opt,name=state,proto3,enum=zitadel.action.v1.FlowState" json:"state,omitempty"`
	TriggerActions []*TriggerAction      `protobuf:"bytes,4,rep,name=trigger_actions,json=triggerActions,proto3" json:"trigger_actions,omitempty"`
	// contains filtered or unexported fields
}

func (*Flow) Descriptor deprecated

func (*Flow) Descriptor() ([]byte, []int)

Deprecated: Use Flow.ProtoReflect.Descriptor instead.

func (*Flow) GetDetails

func (x *Flow) GetDetails() *object.ObjectDetails

func (*Flow) GetState

func (x *Flow) GetState() FlowState

func (*Flow) GetTriggerActions

func (x *Flow) GetTriggerActions() []*TriggerAction

func (*Flow) GetType

func (x *Flow) GetType() *FlowType

func (*Flow) ProtoMessage

func (*Flow) ProtoMessage()

func (*Flow) ProtoReflect

func (x *Flow) ProtoReflect() protoreflect.Message

func (*Flow) Reset

func (x *Flow) Reset()

func (*Flow) String

func (x *Flow) String() string

type FlowState

type FlowState int32
const (
	FlowState_FLOW_STATE_UNSPECIFIED FlowState = 0
	FlowState_FLOW_STATE_INACTIVE    FlowState = 1
	FlowState_FLOW_STATE_ACTIVE      FlowState = 2
)

func (FlowState) Descriptor

func (FlowState) Descriptor() protoreflect.EnumDescriptor

func (FlowState) Enum

func (x FlowState) Enum() *FlowState

func (FlowState) EnumDescriptor deprecated

func (FlowState) EnumDescriptor() ([]byte, []int)

Deprecated: Use FlowState.Descriptor instead.

func (FlowState) Number

func (x FlowState) Number() protoreflect.EnumNumber

func (FlowState) String

func (x FlowState) String() string

func (FlowState) Type

type FlowType

type FlowType struct {

	// identifier of the type
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// key and name of the type
	Name *message.LocalizedMessage `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowType) Descriptor deprecated

func (*FlowType) Descriptor() ([]byte, []int)

Deprecated: Use FlowType.ProtoReflect.Descriptor instead.

func (*FlowType) GetId

func (x *FlowType) GetId() string

func (*FlowType) GetName

func (x *FlowType) GetName() *message.LocalizedMessage

func (*FlowType) ProtoMessage

func (*FlowType) ProtoMessage()

func (*FlowType) ProtoReflect

func (x *FlowType) ProtoReflect() protoreflect.Message

func (*FlowType) Reset

func (x *FlowType) Reset()

func (*FlowType) String

func (x *FlowType) String() string

type TriggerAction

type TriggerAction struct {

	// id of the trigger type
	TriggerType *TriggerType `protobuf:"bytes,1,opt,name=trigger_type,json=triggerType,proto3" json:"trigger_type,omitempty"`
	Actions     []*Action    `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerAction) Descriptor deprecated

func (*TriggerAction) Descriptor() ([]byte, []int)

Deprecated: Use TriggerAction.ProtoReflect.Descriptor instead.

func (*TriggerAction) GetActions

func (x *TriggerAction) GetActions() []*Action

func (*TriggerAction) GetTriggerType

func (x *TriggerAction) GetTriggerType() *TriggerType

func (*TriggerAction) ProtoMessage

func (*TriggerAction) ProtoMessage()

func (*TriggerAction) ProtoReflect

func (x *TriggerAction) ProtoReflect() protoreflect.Message

func (*TriggerAction) Reset

func (x *TriggerAction) Reset()

func (*TriggerAction) String

func (x *TriggerAction) String() string

type TriggerType

type TriggerType struct {

	// identifier of the type
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// key and name of the type
	Name *message.LocalizedMessage `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerType) Descriptor deprecated

func (*TriggerType) Descriptor() ([]byte, []int)

Deprecated: Use TriggerType.ProtoReflect.Descriptor instead.

func (*TriggerType) GetId

func (x *TriggerType) GetId() string

func (*TriggerType) GetName

func (x *TriggerType) GetName() *message.LocalizedMessage

func (*TriggerType) ProtoMessage

func (*TriggerType) ProtoMessage()

func (*TriggerType) ProtoReflect

func (x *TriggerType) ProtoReflect() protoreflect.Message

func (*TriggerType) Reset

func (x *TriggerType) Reset()

func (*TriggerType) String

func (x *TriggerType) String() string

Jump to

Keyboard shortcuts

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