action

package
v2.0.0-...-c383979 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 8 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 (
	FlowType_name = map[int32]string{
		0: "FLOW_TYPE_UNSPECIFIED",
		1: "FLOW_TYPE_EXTERNAL_AUTHENTICATION",
	}
	FlowType_value = map[string]int32{
		"FLOW_TYPE_UNSPECIFIED":             0,
		"FLOW_TYPE_EXTERNAL_AUTHENTICATION": 1,
	}
)

Enum value maps for FlowType.

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 (
	TriggerType_name = map[int32]string{
		0: "TRIGGER_TYPE_UNSPECIFIED",
		1: "TRIGGER_TYPE_POST_AUTHENTICATION",
		2: "TRIGGER_TYPE_PRE_CREATION",
		3: "TRIGGER_TYPE_POST_CREATION",
	}
	TriggerType_value = map[string]int32{
		"TRIGGER_TYPE_UNSPECIFIED":         0,
		"TRIGGER_TYPE_POST_AUTHENTICATION": 1,
		"TRIGGER_TYPE_PRE_CREATION":        2,
		"TRIGGER_TYPE_POST_CREATION":       3,
	}
)

Enum value maps for TriggerType.

View Source
var (
	FlowFieldName_name = map[int32]string{
		0: "FLOW_FIELD_NAME_UNSPECIFIED",
		1: "FLOW_FIELD_NAME_TYPE",
		2: "FLOW_FIELD_NAME_STATE",
	}
	FlowFieldName_value = map[string]int32{
		"FLOW_FIELD_NAME_UNSPECIFIED": 0,
		"FLOW_FIELD_NAME_TYPE":        1,
		"FLOW_FIELD_NAME_STATE":       2,
	}
)

Enum value maps for FlowFieldName.

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 is 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 {
	Type           FlowType              `protobuf:"varint,1,opt,name=type,proto3,enum=zitadel.action.v1.FlowType" 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 FlowFieldName

type FlowFieldName int32
const (
	FlowFieldName_FLOW_FIELD_NAME_UNSPECIFIED FlowFieldName = 0
	FlowFieldName_FLOW_FIELD_NAME_TYPE        FlowFieldName = 1
	FlowFieldName_FLOW_FIELD_NAME_STATE       FlowFieldName = 2
)

func (FlowFieldName) Descriptor

func (FlowFieldName) Enum

func (x FlowFieldName) Enum() *FlowFieldName

func (FlowFieldName) EnumDescriptor deprecated

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

Deprecated: Use FlowFieldName.Descriptor instead.

func (FlowFieldName) Number

func (FlowFieldName) String

func (x FlowFieldName) String() string

func (FlowFieldName) Type

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 FlowStateQuery

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

FlowStateQuery is always equals

func (*FlowStateQuery) Descriptor deprecated

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

Deprecated: Use FlowStateQuery.ProtoReflect.Descriptor instead.

func (*FlowStateQuery) GetState

func (x *FlowStateQuery) GetState() FlowState

func (*FlowStateQuery) ProtoMessage

func (*FlowStateQuery) ProtoMessage()

func (*FlowStateQuery) ProtoReflect

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

func (*FlowStateQuery) Reset

func (x *FlowStateQuery) Reset()

func (*FlowStateQuery) String

func (x *FlowStateQuery) String() string

type FlowType

type FlowType int32
const (
	FlowType_FLOW_TYPE_UNSPECIFIED             FlowType = 0
	FlowType_FLOW_TYPE_EXTERNAL_AUTHENTICATION FlowType = 1
)

func (FlowType) Descriptor

func (FlowType) Descriptor() protoreflect.EnumDescriptor

func (FlowType) Enum

func (x FlowType) Enum() *FlowType

func (FlowType) EnumDescriptor deprecated

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

Deprecated: Use FlowType.Descriptor instead.

func (FlowType) Number

func (x FlowType) Number() protoreflect.EnumNumber

func (FlowType) String

func (x FlowType) String() string

func (FlowType) Type

type FlowTypeQuery

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

FlowTypeQuery is always equals

func (*FlowTypeQuery) Descriptor deprecated

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

Deprecated: Use FlowTypeQuery.ProtoReflect.Descriptor instead.

func (*FlowTypeQuery) GetState

func (x *FlowTypeQuery) GetState() FlowType

func (*FlowTypeQuery) ProtoMessage

func (*FlowTypeQuery) ProtoMessage()

func (*FlowTypeQuery) ProtoReflect

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

func (*FlowTypeQuery) Reset

func (x *FlowTypeQuery) Reset()

func (*FlowTypeQuery) String

func (x *FlowTypeQuery) String() string

type TriggerAction

type TriggerAction struct {
	TriggerType TriggerType `` /* 130-byte string literal not displayed */
	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 int32
const (
	TriggerType_TRIGGER_TYPE_UNSPECIFIED         TriggerType = 0
	TriggerType_TRIGGER_TYPE_POST_AUTHENTICATION TriggerType = 1
	TriggerType_TRIGGER_TYPE_PRE_CREATION        TriggerType = 2
	TriggerType_TRIGGER_TYPE_POST_CREATION       TriggerType = 3
)

func (TriggerType) Descriptor

func (TriggerType) Enum

func (x TriggerType) Enum() *TriggerType

func (TriggerType) EnumDescriptor deprecated

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

Deprecated: Use TriggerType.Descriptor instead.

func (TriggerType) Number

func (x TriggerType) Number() protoreflect.EnumNumber

func (TriggerType) String

func (x TriggerType) String() string

func (TriggerType) Type

Jump to

Keyboard shortcuts

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