Documentation ¶
Index ¶
- Variables
- type AuthContext
- type AuthEndpoint
- type AuthOperation
- type AuthSchemaProps
- type AuthState
- type AuthStatus
- func (_j AuthStatus) IsValid() bool
- func (_j AuthStatus) MarshalBinary() ([]byte, error)
- func (_j AuthStatus) MarshalGQL(w io.Writer)
- func (_j AuthStatus) MarshalJSON() ([]byte, error)
- func (_j AuthStatus) MarshalText() ([]byte, error)
- func (_j AuthStatus) MarshalYAML() (interface{}, error)
- func (AuthStatus) SQLTypeName() string
- func (_j *AuthStatus) Scan(value interface{}) error
- func (_j AuthStatus) String() string
- func (_j *AuthStatus) UnmarshalBinary(text []byte) error
- func (_j *AuthStatus) UnmarshalGQL(value interface{}) error
- func (_j *AuthStatus) UnmarshalJSON(data []byte) error
- func (_j *AuthStatus) UnmarshalText(text []byte) error
- func (_j *AuthStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j AuthStatus) Validate() error
- func (AuthStatus) Values() []string
- type AuthStrategy
- type AuthType
- func (_j AuthType) IsValid() bool
- func (_j AuthType) MarshalBinary() ([]byte, error)
- func (_j AuthType) MarshalGQL(w io.Writer)
- func (_j AuthType) MarshalJSON() ([]byte, error)
- func (_j AuthType) MarshalText() ([]byte, error)
- func (_j AuthType) MarshalYAML() (interface{}, error)
- func (AuthType) SQLTypeName() string
- func (_j *AuthType) Scan(value interface{}) error
- func (_j AuthType) String() string
- func (_j *AuthType) UnmarshalBinary(text []byte) error
- func (_j *AuthType) UnmarshalGQL(value interface{}) error
- func (_j *AuthType) UnmarshalJSON(data []byte) error
- func (_j *AuthType) UnmarshalText(text []byte) error
- func (_j *AuthType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j AuthType) Validate() error
- func (AuthType) Values() []string
- type AutoFormDataProps
- type AutoFormFieldLogic
- type AutoFormFieldLogicRuleData
- type AutoFormFieldLogicValidationDefinition
- type AutoFormFieldPresentationError
- type AutoFormFieldProps
- type AutoFormFieldSelectOptions
- type AutoFormFieldType
- func (_j AutoFormFieldType) IsValid() bool
- func (_j AutoFormFieldType) MarshalBinary() ([]byte, error)
- func (_j AutoFormFieldType) MarshalGQL(w io.Writer)
- func (_j AutoFormFieldType) MarshalJSON() ([]byte, error)
- func (_j AutoFormFieldType) MarshalText() ([]byte, error)
- func (_j AutoFormFieldType) MarshalYAML() (interface{}, error)
- func (AutoFormFieldType) SQLTypeName() string
- func (_j *AutoFormFieldType) Scan(value interface{}) error
- func (_j AutoFormFieldType) String() string
- func (_j *AutoFormFieldType) UnmarshalBinary(text []byte) error
- func (_j *AutoFormFieldType) UnmarshalGQL(value interface{}) error
- func (_j *AutoFormFieldType) UnmarshalJSON(data []byte) error
- func (_j *AutoFormFieldType) UnmarshalText(text []byte) error
- func (_j *AutoFormFieldType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j AutoFormFieldType) Validate() error
- func (AutoFormFieldType) Values() []string
- type AutoFormSchema
- type AutoFormType
- type BasicAuthSrategy
- type CodeEditorLanguage
- func (_j CodeEditorLanguage) IsValid() bool
- func (_j CodeEditorLanguage) MarshalBinary() ([]byte, error)
- func (_j CodeEditorLanguage) MarshalGQL(w io.Writer)
- func (_j CodeEditorLanguage) MarshalJSON() ([]byte, error)
- func (_j CodeEditorLanguage) MarshalText() ([]byte, error)
- func (_j CodeEditorLanguage) MarshalYAML() (interface{}, error)
- func (CodeEditorLanguage) SQLTypeName() string
- func (_j *CodeEditorLanguage) Scan(value interface{}) error
- func (_j CodeEditorLanguage) String() string
- func (_j *CodeEditorLanguage) UnmarshalBinary(text []byte) error
- func (_j *CodeEditorLanguage) UnmarshalGQL(value interface{}) error
- func (_j *CodeEditorLanguage) UnmarshalJSON(data []byte) error
- func (_j *CodeEditorLanguage) UnmarshalText(text []byte) error
- func (_j *CodeEditorLanguage) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j CodeEditorLanguage) Validate() error
- func (CodeEditorLanguage) Values() []string
- type ConnectorAuthMetadata
- type ConnectorAuthentication
- type ConnectorPlatform
- func (_j ConnectorPlatform) IsValid() bool
- func (_j ConnectorPlatform) MarshalBinary() ([]byte, error)
- func (_j ConnectorPlatform) MarshalGQL(w io.Writer)
- func (_j ConnectorPlatform) MarshalJSON() ([]byte, error)
- func (_j ConnectorPlatform) MarshalText() ([]byte, error)
- func (_j ConnectorPlatform) MarshalYAML() (interface{}, error)
- func (ConnectorPlatform) SQLTypeName() string
- func (_j *ConnectorPlatform) Scan(value interface{}) error
- func (_j ConnectorPlatform) String() string
- func (_j *ConnectorPlatform) UnmarshalBinary(text []byte) error
- func (_j *ConnectorPlatform) UnmarshalGQL(value interface{}) error
- func (_j *ConnectorPlatform) UnmarshalJSON(data []byte) error
- func (_j *ConnectorPlatform) UnmarshalText(text []byte) error
- func (_j *ConnectorPlatform) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j ConnectorPlatform) Validate() error
- func (ConnectorPlatform) Values() []string
- type ConnectorPlugin
- type ConnectorProperties
- type ConnectorStep
- type ConnectorStepData
- type ConnectorStepMetadata
- type ConnectorStepPosition
- type ConnectorType
- func (_j ConnectorType) IsValid() bool
- func (_j ConnectorType) MarshalBinary() ([]byte, error)
- func (_j ConnectorType) MarshalGQL(w io.Writer)
- func (_j ConnectorType) MarshalJSON() ([]byte, error)
- func (_j ConnectorType) MarshalText() ([]byte, error)
- func (_j ConnectorType) MarshalYAML() (interface{}, error)
- func (ConnectorType) SQLTypeName() string
- func (_j *ConnectorType) Scan(value interface{}) error
- func (_j ConnectorType) String() string
- func (_j *ConnectorType) UnmarshalBinary(text []byte) error
- func (_j *ConnectorType) UnmarshalGQL(value interface{}) error
- func (_j *ConnectorType) UnmarshalJSON(data []byte) error
- func (_j *ConnectorType) UnmarshalText(text []byte) error
- func (_j *ConnectorType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j ConnectorType) Validate() error
- func (ConnectorType) Values() []string
- type ConnectorVersionMetadata
- type Cursor
- type DynamicFieldContext
- type DynamicFieldPaging
- type DynamicOptionsFilterParams
- type DynamicOptionsFn
- type DynamicOptionsResponse
- type EntityReference
- type ExecutionType
- func (_j ExecutionType) IsValid() bool
- func (_j ExecutionType) MarshalBinary() ([]byte, error)
- func (_j ExecutionType) MarshalGQL(w io.Writer)
- func (_j ExecutionType) MarshalJSON() ([]byte, error)
- func (_j ExecutionType) MarshalText() ([]byte, error)
- func (_j ExecutionType) MarshalYAML() (interface{}, error)
- func (ExecutionType) SQLTypeName() string
- func (_j *ExecutionType) Scan(value interface{}) error
- func (_j ExecutionType) String() string
- func (_j *ExecutionType) UnmarshalBinary(text []byte) error
- func (_j *ExecutionType) UnmarshalGQL(value interface{}) error
- func (_j *ExecutionType) UnmarshalJSON(data []byte) error
- func (_j *ExecutionType) UnmarshalText(text []byte) error
- func (_j *ExecutionType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j ExecutionType) Validate() error
- func (ExecutionType) Values() []string
- type FieldLogicOperators
- func (_j FieldLogicOperators) IsValid() bool
- func (_j FieldLogicOperators) MarshalBinary() ([]byte, error)
- func (_j FieldLogicOperators) MarshalGQL(w io.Writer)
- func (_j FieldLogicOperators) MarshalJSON() ([]byte, error)
- func (_j FieldLogicOperators) MarshalText() ([]byte, error)
- func (_j FieldLogicOperators) MarshalYAML() (interface{}, error)
- func (FieldLogicOperators) SQLTypeName() string
- func (_j *FieldLogicOperators) Scan(value interface{}) error
- func (_j FieldLogicOperators) String() string
- func (_j *FieldLogicOperators) UnmarshalBinary(text []byte) error
- func (_j *FieldLogicOperators) UnmarshalGQL(value interface{}) error
- func (_j *FieldLogicOperators) UnmarshalJSON(data []byte) error
- func (_j *FieldLogicOperators) UnmarshalText(text []byte) error
- func (_j *FieldLogicOperators) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j FieldLogicOperators) Validate() error
- func (FieldLogicOperators) Values() []string
- type FileManager
- type FormState
- type GetDynamicOptionsInput
- type JSON
- type JSONObject
- type JobStatus
- func (_j JobStatus) IsValid() bool
- func (_j JobStatus) MarshalBinary() ([]byte, error)
- func (_j JobStatus) MarshalGQL(w io.Writer)
- func (_j JobStatus) MarshalJSON() ([]byte, error)
- func (_j JobStatus) MarshalText() ([]byte, error)
- func (_j JobStatus) MarshalYAML() (interface{}, error)
- func (JobStatus) SQLTypeName() string
- func (_j *JobStatus) Scan(value interface{}) error
- func (_j JobStatus) String() string
- func (_j *JobStatus) UnmarshalBinary(text []byte) error
- func (_j *JobStatus) UnmarshalGQL(value interface{}) error
- func (_j *JobStatus) UnmarshalJSON(data []byte) error
- func (_j *JobStatus) UnmarshalText(text []byte) error
- func (_j *JobStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j JobStatus) Validate() error
- func (JobStatus) Values() []string
- type Log
- type LogBuilder
- type LogLevel
- type LogLine
- type LogLineLevel
- func (_j LogLineLevel) IsValid() bool
- func (_j LogLineLevel) MarshalBinary() ([]byte, error)
- func (_j LogLineLevel) MarshalGQL(w io.Writer)
- func (_j LogLineLevel) MarshalJSON() ([]byte, error)
- func (_j LogLineLevel) MarshalText() ([]byte, error)
- func (_j LogLineLevel) MarshalYAML() (interface{}, error)
- func (LogLineLevel) SQLTypeName() string
- func (_j *LogLineLevel) Scan(value interface{}) error
- func (_j LogLineLevel) String() string
- func (_j *LogLineLevel) UnmarshalBinary(text []byte) error
- func (_j *LogLineLevel) UnmarshalGQL(value interface{}) error
- func (_j *LogLineLevel) UnmarshalJSON(data []byte) error
- func (_j *LogLineLevel) UnmarshalText(text []byte) error
- func (_j *LogLineLevel) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j LogLineLevel) Validate() error
- func (LogLineLevel) Values() []string
- type OauthStrategy
- type OauthTokenResponse
- type OffsetPaginationMeta
- type Operation
- type Operations
- type OperationsList
- type PauseType
- func (_j PauseType) IsValid() bool
- func (_j PauseType) MarshalBinary() ([]byte, error)
- func (_j PauseType) MarshalGQL(w io.Writer)
- func (_j PauseType) MarshalJSON() ([]byte, error)
- func (_j PauseType) MarshalText() ([]byte, error)
- func (_j PauseType) MarshalYAML() (interface{}, error)
- func (PauseType) SQLTypeName() string
- func (_j *PauseType) Scan(value interface{}) error
- func (_j PauseType) String() string
- func (_j *PauseType) UnmarshalBinary(text []byte) error
- func (_j *PauseType) UnmarshalGQL(value interface{}) error
- func (_j *PauseType) UnmarshalJSON(data []byte) error
- func (_j *PauseType) UnmarshalText(text []byte) error
- func (_j *PauseType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j PauseType) Validate() error
- func (PauseType) Values() []string
- type PluginCompiler
- type PluginLanguage
- type PluginMetadata
- type RunModeType
- func (_j RunModeType) IsValid() bool
- func (_j RunModeType) MarshalBinary() ([]byte, error)
- func (_j RunModeType) MarshalGQL(w io.Writer)
- func (_j RunModeType) MarshalJSON() ([]byte, error)
- func (_j RunModeType) MarshalText() ([]byte, error)
- func (_j RunModeType) MarshalYAML() (interface{}, error)
- func (RunModeType) SQLTypeName() string
- func (_j *RunModeType) Scan(value interface{}) error
- func (_j RunModeType) String() string
- func (_j *RunModeType) UnmarshalBinary(text []byte) error
- func (_j *RunModeType) UnmarshalGQL(value interface{}) error
- func (_j *RunModeType) UnmarshalJSON(data []byte) error
- func (_j *RunModeType) UnmarshalText(text []byte) error
- func (_j *RunModeType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j RunModeType) Validate() error
- func (RunModeType) Values() []string
- type SignLog
- type SignLogs
- type StepEdge
- type StepErrorSettings
- type StepRunData
- type StepRunStatus
- func (_j StepRunStatus) IsValid() bool
- func (_j StepRunStatus) MarshalBinary() ([]byte, error)
- func (_j StepRunStatus) MarshalGQL(w io.Writer)
- func (_j StepRunStatus) MarshalJSON() ([]byte, error)
- func (_j StepRunStatus) MarshalText() ([]byte, error)
- func (_j StepRunStatus) MarshalYAML() (interface{}, error)
- func (StepRunStatus) SQLTypeName() string
- func (_j *StepRunStatus) Scan(value interface{}) error
- func (_j StepRunStatus) String() string
- func (_j *StepRunStatus) UnmarshalBinary(text []byte) error
- func (_j *StepRunStatus) UnmarshalGQL(value interface{}) error
- func (_j *StepRunStatus) UnmarshalJSON(data []byte) error
- func (_j *StepRunStatus) UnmarshalText(text []byte) error
- func (_j *StepRunStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j StepRunStatus) Validate() error
- func (StepRunStatus) Values() []string
- type StepState
- type StepTriggerSettings
- type StepType
- func (_j StepType) IsValid() bool
- func (_j StepType) MarshalBinary() ([]byte, error)
- func (_j StepType) MarshalGQL(w io.Writer)
- func (_j StepType) MarshalJSON() ([]byte, error)
- func (_j StepType) MarshalText() ([]byte, error)
- func (_j StepType) MarshalYAML() (interface{}, error)
- func (StepType) SQLTypeName() string
- func (_j *StepType) Scan(value interface{}) error
- func (_j StepType) String() string
- func (_j *StepType) UnmarshalBinary(text []byte) error
- func (_j *StepType) UnmarshalGQL(value interface{}) error
- func (_j *StepType) UnmarshalJSON(data []byte) error
- func (_j *StepType) UnmarshalText(text []byte) error
- func (_j *StepType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j StepType) Validate() error
- func (StepType) Values() []string
- type StepsRunSnapshot
- type StepsState
- type SystemActivityLog
- type SystemActivityLogs
- type TaskOperation
- type TestStatus
- func (_j TestStatus) IsValid() bool
- func (_j TestStatus) MarshalBinary() ([]byte, error)
- func (_j TestStatus) MarshalGQL(w io.Writer)
- func (_j TestStatus) MarshalJSON() ([]byte, error)
- func (_j TestStatus) MarshalText() ([]byte, error)
- func (_j TestStatus) MarshalYAML() (interface{}, error)
- func (TestStatus) SQLTypeName() string
- func (_j *TestStatus) Scan(value interface{}) error
- func (_j TestStatus) String() string
- func (_j *TestStatus) UnmarshalBinary(text []byte) error
- func (_j *TestStatus) UnmarshalGQL(value interface{}) error
- func (_j *TestStatus) UnmarshalJSON(data []byte) error
- func (_j *TestStatus) UnmarshalText(text []byte) error
- func (_j *TestStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j TestStatus) Validate() error
- func (TestStatus) Values() []string
- type TestWorkflowStepInput
- type Trigger
- type TriggerHookType
- func (_j TriggerHookType) IsValid() bool
- func (_j TriggerHookType) MarshalBinary() ([]byte, error)
- func (_j TriggerHookType) MarshalGQL(w io.Writer)
- func (_j TriggerHookType) MarshalJSON() ([]byte, error)
- func (_j TriggerHookType) MarshalText() ([]byte, error)
- func (_j TriggerHookType) MarshalYAML() (interface{}, error)
- func (TriggerHookType) SQLTypeName() string
- func (_j *TriggerHookType) Scan(value interface{}) error
- func (_j TriggerHookType) String() string
- func (_j *TriggerHookType) UnmarshalBinary(text []byte) error
- func (_j *TriggerHookType) UnmarshalGQL(value interface{}) error
- func (_j *TriggerHookType) UnmarshalJSON(data []byte) error
- func (_j *TriggerHookType) UnmarshalText(text []byte) error
- func (_j *TriggerHookType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j TriggerHookType) Validate() error
- func (TriggerHookType) Values() []string
- type TriggerManualConfig
- type TriggerPubSubConfig
- type TriggerScheduledConfig
- type TriggerSettings
- type TriggerType
- func (_j TriggerType) IsValid() bool
- func (_j TriggerType) MarshalBinary() ([]byte, error)
- func (_j TriggerType) MarshalGQL(w io.Writer)
- func (_j TriggerType) MarshalJSON() ([]byte, error)
- func (_j TriggerType) MarshalText() ([]byte, error)
- func (_j TriggerType) MarshalYAML() (interface{}, error)
- func (TriggerType) SQLTypeName() string
- func (_j *TriggerType) Scan(value interface{}) error
- func (_j TriggerType) String() string
- func (_j *TriggerType) UnmarshalBinary(text []byte) error
- func (_j *TriggerType) UnmarshalGQL(value interface{}) error
- func (_j *TriggerType) UnmarshalJSON(data []byte) error
- func (_j *TriggerType) UnmarshalText(text []byte) error
- func (_j *TriggerType) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j TriggerType) Validate() error
- func (TriggerType) Values() []string
- type TriggerWebhookConfig
- type TriggerWorkflowConfig
- type Triggers
- type TriggersList
- type WakfloAuthStrategy
- type WorkflowRunMetadata
- type WorkflowRunStatus
- func (_j WorkflowRunStatus) IsValid() bool
- func (_j WorkflowRunStatus) MarshalBinary() ([]byte, error)
- func (_j WorkflowRunStatus) MarshalGQL(w io.Writer)
- func (_j WorkflowRunStatus) MarshalJSON() ([]byte, error)
- func (_j WorkflowRunStatus) MarshalText() ([]byte, error)
- func (_j WorkflowRunStatus) MarshalYAML() (interface{}, error)
- func (WorkflowRunStatus) SQLTypeName() string
- func (_j *WorkflowRunStatus) Scan(value interface{}) error
- func (_j WorkflowRunStatus) String() string
- func (_j *WorkflowRunStatus) UnmarshalBinary(text []byte) error
- func (_j *WorkflowRunStatus) UnmarshalGQL(value interface{}) error
- func (_j *WorkflowRunStatus) UnmarshalJSON(data []byte) error
- func (_j *WorkflowRunStatus) UnmarshalText(text []byte) error
- func (_j *WorkflowRunStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (_j WorkflowRunStatus) Validate() error
- func (WorkflowRunStatus) Values() []string
- type WorkflowSettings
- type WorkflowTemplate
- type WorkflowTemplateType
- type WorkflowVersion
- type WorkspacePluginMetadata
- type WriteLogLineOpts
Constants ¶
This section is empty.
Variables ¶
var ErrNoValidEnum = errors.New("not a valid enum")
Functions ¶
This section is empty.
Types ¶
type AuthContext ¶
type AuthContext struct { AccessToken string `json:"accessToken,omitempty"` Token *oauth2.Token `json:"token,omitempty"` TokenSource *oauth2.TokenSource `json:"tokenSource,omitempty"` TokenType string `json:"tokenType,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Secret string `json:"secret,omitempty"` Scopes []string `json:"scopes,omitempty"` Key string `json:"key,omitempty"` Extra map[string]string `json:"extra,omitempty"` }
func (*AuthContext) GetCustomAuth ¶ added in v0.4.2
func (c *AuthContext) GetCustomAuth() (map[string]string, error)
type AuthEndpoint ¶
type AuthOperation ¶
type AuthOperation struct { Type authenums.AuthType `json:"type"` Config map[string]any `json:"config"` }
AuthOperation is an auth operation struct.
type AuthSchemaProps ¶ added in v0.8.0
type AuthSchemaProps struct { Scope []string `json:"scope,omitempty"` TokenURL *string `json:"tokenUrl,omitempty"` AuthURL *string `json:"authUrl,omitempty"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` Secret *string `json:"secret,omitempty"` ExcludedParams []string `json:"excludedParams,omitempty"` }
type AuthState ¶
type AuthState struct { ClientID *string `json:"clientId,omitempty"` Code *string `json:"code,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` AuthURL *string `json:"authUrl,omitempty"` TokenURL *string `json:"tokenUrl,omitempty"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` Secret *string `json:"secret,omitempty"` Key *string `json:"key,omitempty"` RedirectURL *string `json:"redirectURL,omitempty"` GrantType *string `json:"grantType,omitempty"` AccessToken *string `json:"accessToken,omitempty"` RefreshToken *string `json:"refreshToken,omitempty"` Scopes []string `json:"scopes,omitempty"` TokenType *string `json:"tokenType,omitempty"` Endpoint *oauth2.Endpoint `json:"endpoint,omitempty"` Expiry *time.Time `json:"expiry,omitempty"` Extra map[string]string `json:"extra,omitempty"` }
type AuthStatus ¶
type AuthStatus string
const ( Disabled AuthStatus = "disabled" Active AuthStatus = "active" Failed AuthStatus = "failed" )
func AuthStatusFromString ¶
func AuthStatusFromString(raw string) (AuthStatus, bool)
AuthStatusFromString determines the enum value with an exact case match.
func AuthStatusFromStringIgnoreCase ¶
func AuthStatusFromStringIgnoreCase(raw string) (AuthStatus, bool)
AuthStatusFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (AuthStatus) IsValid ¶
func (_j AuthStatus) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (AuthStatus) MarshalBinary ¶
func (_j AuthStatus) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for AuthStatus.
func (AuthStatus) MarshalGQL ¶
func (_j AuthStatus) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for AuthStatus.
func (AuthStatus) MarshalJSON ¶
func (_j AuthStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for AuthStatus.
func (AuthStatus) MarshalText ¶
func (_j AuthStatus) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for AuthStatus.
func (AuthStatus) MarshalYAML ¶
func (_j AuthStatus) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for AuthStatus.
func (AuthStatus) SQLTypeName ¶
func (AuthStatus) SQLTypeName() string
func (*AuthStatus) Scan ¶
func (_j *AuthStatus) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for AuthStatus.
func (AuthStatus) String ¶
func (_j AuthStatus) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern AuthStatus(%d) instead.
func (*AuthStatus) UnmarshalBinary ¶
func (_j *AuthStatus) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for AuthStatus.
func (*AuthStatus) UnmarshalGQL ¶
func (_j *AuthStatus) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for AuthStatus.
func (*AuthStatus) UnmarshalJSON ¶
func (_j *AuthStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AuthStatus.
func (*AuthStatus) UnmarshalText ¶
func (_j *AuthStatus) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for AuthStatus.
func (*AuthStatus) UnmarshalYAML ¶
func (_j *AuthStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for AuthStatus.
func (AuthStatus) Validate ¶
func (_j AuthStatus) Validate() error
Validate whether the value is within the range of enum values.
func (AuthStatus) Values ¶
func (AuthStatus) Values() []string
Values returns a slice of all String values of the enum.
type AuthStrategy ¶
type AuthStrategy struct { google.Credentials authutil.AuthorizationType }
type AuthType ¶
type AuthType string
func AuthTypeFromString ¶
AuthTypeFromString determines the enum value with an exact case match.
func AuthTypeFromStringIgnoreCase ¶
AuthTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (AuthType) MarshalBinary ¶
MarshalBinary implements the encoding.BinaryMarshaler interface for AuthType.
func (AuthType) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface for AuthType.
func (AuthType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for AuthType.
func (AuthType) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for AuthType.
func (AuthType) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for AuthType.
func (AuthType) SQLTypeName ¶
func (AuthType) String ¶
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern AuthType(%d) instead.
func (*AuthType) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for AuthType.
func (*AuthType) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Unmarshaler interface for AuthType.
func (*AuthType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for AuthType.
func (*AuthType) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for AuthType.
func (*AuthType) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for AuthType.
type AutoFormDataProps ¶ added in v0.8.0
type AutoFormDataProps struct {
Auth *AuthSchemaProps `json:"auth,omitempty"`
}
type AutoFormFieldLogic ¶
type AutoFormFieldLogic struct {
Validations map[string]AutoFormFieldLogicValidationDefinition `json:"validations,omitempty"`
}
type AutoFormFieldLogicValidationDefinition ¶
type AutoFormFieldLogicValidationDefinition struct { ErrorMessage string `json:"errorMessage,omitempty"` Rule map[FieldLogicOperators]*AutoFormFieldLogicRuleData `json:"rule,omitempty"` }
type AutoFormFieldProps ¶ added in v0.8.0
type AutoFormFieldProps struct { Type string `json:"type,omitempty"` ControlType AutoFormFieldType `json:"controlType,omitempty"` Required bool `json:"required"` Language string `json:"language,omitempty"` Hint string `json:"hint,omitempty"` Label string `json:"label,omitempty"` Disabled bool `json:"disabled"` Placeholder string `json:"placeholder,omitempty"` ReadOnly bool `json:"readOnly"` Multiple bool `json:"multiple"` MinDate *time.Time `json:"minDate,omitempty"` MaxDate *time.Time `json:"maxDate,omitempty"` Min *int `json:"min,omitempty"` Max *int `json:"max,omitempty"` Auth *AuthSchemaProps `json:"auth,omitempty"` // Notify is used to notify other fields after changes Notify []string `json:"notify,omitempty"` // Example Usage in JS // relevant: ({ formApi, scope }) => { // return formApi.getValue(`${scope}.married`) == 'yes'; // } // The value should be a stringified JS function Relevant *string `json:"relevant,omitempty"` InitialValue any `json:"initialValue,omitempty"` KeepState bool `json:"keepState,omitempty"` }
type AutoFormFieldSelectOptions ¶
type AutoFormFieldSelectOptions struct { Value string `json:"value"` Label string `json:"label"` Metadata any `json:"metadata,omitempty"` }
AutoFormFieldSelectOptions represents an enumerated type with a value and label.
type AutoFormFieldType ¶
type AutoFormFieldType string
const ( AutoFormFieldTypeShortText AutoFormFieldType = "short_text" AutoFormFieldTypeLongText AutoFormFieldType = "long_text" AutoFormFieldTypeMarkdown AutoFormFieldType = "markdown" AutoFormFieldTypeSelect AutoFormFieldType = "select" AutoFormFieldTypeStaticDropdown AutoFormFieldType = "static_dropdown" AutoFormFieldTypeNumber AutoFormFieldType = "number" AutoFormFieldTypeCheckbox AutoFormFieldType = "checkbox" AutoFormFieldTypeOauth2 AutoFormFieldType = "oauth" AutoFormFieldTypeSecretAuth AutoFormFieldType = "secret" AutoFormFieldTypeCustomAuth AutoFormFieldType = "custom_auth" AutoFormFieldTypeArray AutoFormFieldType = "array" AutoFormFieldTypeObject AutoFormFieldType = "fieldset" AutoFormFieldTypeBasicAuth AutoFormFieldType = "basic_auth" AutoFormFieldTypeJSON AutoFormFieldType = "json" AutoFormFieldTypeDateTime AutoFormFieldType = "datetime" AutoFormFieldTypeFile AutoFormFieldType = "file" AutoFormFieldTypeFileString AutoFormFieldType = "file_string" AutoFormFieldTypeBoolean AutoFormFieldType = "boolean" AutoFormFieldTypeDynamic AutoFormFieldType = "dynamic" AutoFormFieldTypeCodeEditor AutoFormFieldType = "code" AutoFormFieldTypeRichText AutoFormFieldType = "richtext" AutoFormFieldTypeBranch AutoFormFieldType = "branch" AutoFormFieldTypeWrapper AutoFormFieldType = "wrapper" )
func FieldTypeFromString ¶
func FieldTypeFromString(raw string) (AutoFormFieldType, bool)
FieldTypeFromString determines the enum value with an exact case match.
func FieldTypeFromStringIgnoreCase ¶
func FieldTypeFromStringIgnoreCase(raw string) (AutoFormFieldType, bool)
FieldTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (AutoFormFieldType) IsValid ¶
func (_j AutoFormFieldType) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (AutoFormFieldType) MarshalBinary ¶
func (_j AutoFormFieldType) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for AutoFormFieldType.
func (AutoFormFieldType) MarshalGQL ¶
func (_j AutoFormFieldType) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for AutoFormFieldType.
func (AutoFormFieldType) MarshalJSON ¶
func (_j AutoFormFieldType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for AutoFormFieldType.
func (AutoFormFieldType) MarshalText ¶
func (_j AutoFormFieldType) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for AutoFormFieldType.
func (AutoFormFieldType) MarshalYAML ¶
func (_j AutoFormFieldType) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for AutoFormFieldType.
func (AutoFormFieldType) SQLTypeName ¶
func (AutoFormFieldType) SQLTypeName() string
func (*AutoFormFieldType) Scan ¶
func (_j *AutoFormFieldType) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for AutoFormFieldType.
func (AutoFormFieldType) String ¶
func (_j AutoFormFieldType) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern AutoFormFieldType(%d) instead.
func (*AutoFormFieldType) UnmarshalBinary ¶
func (_j *AutoFormFieldType) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for AutoFormFieldType.
func (*AutoFormFieldType) UnmarshalGQL ¶
func (_j *AutoFormFieldType) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for AutoFormFieldType.
func (*AutoFormFieldType) UnmarshalJSON ¶
func (_j *AutoFormFieldType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for AutoFormFieldType.
func (*AutoFormFieldType) UnmarshalText ¶
func (_j *AutoFormFieldType) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for AutoFormFieldType.
func (*AutoFormFieldType) UnmarshalYAML ¶
func (_j *AutoFormFieldType) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for AutoFormFieldType.
func (AutoFormFieldType) Validate ¶
func (_j AutoFormFieldType) Validate() error
Validate whether the value is within the range of enum values.
func (AutoFormFieldType) Values ¶
func (AutoFormFieldType) Values() []string
Values returns a slice of all String values of the enum.
type AutoFormSchema ¶
type AutoFormSchema struct { Schema string `json:"$schema,omitempty"` ID string `json:"$id,omitempty"` Comment *string `json:"$comment,omitempty"` Title string `json:"title,omitempty"` Type AutoFormType `json:"type,omitempty"` Properties map[string]*AutoFormSchema `json:"properties,omitempty"` Items *AutoFormSchema `json:"items,omitempty"` AdditionalItems *AutoFormSchema `json:"additionalItems,omitempty"` Required []string `json:"required,omitempty"` IsRequired bool `json:"isRequired,omitempty"` Default any `json:"default,omitempty"` Format string `json:"format,omitempty"` Definitions map[string]*AutoFormSchema `json:"definitions,omitempty"` Description string `json:"description,omitempty"` AdditionalProperties any `json:"additionalProperties,omitempty"` MinProperties *int `json:"minProperties,omitempty"` MaxProperties *int `json:"maxProperties,omitempty"` PatternProperties map[string]*AutoFormSchema `json:"patternProperties,omitempty"` Dependencies map[string]any `json:"dependencies,omitempty"` Enum []any `json:"enum,omitempty"` AllOf []*AutoFormSchema `json:"allOf,omitempty"` AnyOf []*AutoFormSchema `json:"anyOf,omitempty"` OneOf []*AutoFormSchema `json:"oneOf,omitempty"` Not *AutoFormSchema `json:"not,omitempty"` Minimum any `json:"minimum,omitempty"` Maximum any `json:"maximum,omitempty"` ExclusiveMinimum any `json:"exclusiveMinimum,omitempty"` ExclusiveMaximum any `json:"exclusiveMaximum,omitempty"` MinLength *int `json:"minLength,omitempty"` MaxLength *int `json:"maxLength,omitempty"` Pattern string `json:"pattern,omitempty"` MinItems *int `json:"minItems,omitempty"` MaxItems *int `json:"maxItems,omitempty"` UniqueItems bool `json:"uniqueItems,omitempty"` Contains *AutoFormSchema `json:"contains,omitempty"` MinContains *int `json:"minContains,omitempty"` MaxContains *int `json:"maxContains,omitempty"` Const any `json:"const,omitempty"` Disabled bool `json:"disabled"` Order []string `json:"order,omitempty"` If *AutoFormSchema `json:"if,omitempty"` Else *AutoFormSchema `json:"else,omitempty"` Then *AutoFormSchema `json:"then,omitempty"` UIControl AutoFormFieldType `json:"ui:control,omitempty"` // UIData *AutoFormDataProps `json:"ui:data,omitempty"` UIProps *AutoFormFieldProps `json:"ui:props,omitempty"` UIComponentRemove *AutoFormSchema `json:"ui:component:remove,omitempty"` UIBefore []AutoFormSchema `json:"ui:before,omitempty"` DependsOn []string `json:"dependsOn,omitempty"` IsDynamic bool `json:"isDynamic,omitempty"` // contains filtered or unexported fields }
func (*AutoFormSchema) GetDynamicOptionsFn ¶
func (af *AutoFormSchema) GetDynamicOptionsFn(ctx *DynamicFieldContext) (interface{}, error)
func (*AutoFormSchema) SetDynamicOptionsFn ¶
func (af *AutoFormSchema) SetDynamicOptionsFn(dynamicOptionsFn *DynamicOptionsFn)
type AutoFormType ¶
type AutoFormType string
const ( Undefined AutoFormType = "undefined" String AutoFormType = "string" Number AutoFormType = "number" Object AutoFormType = "object" Array AutoFormType = "array" Boolean AutoFormType = "boolean" Nullable AutoFormType = "null" Integer AutoFormType = "integer" )
func (AutoFormType) String ¶
func (s AutoFormType) String() string
func (*AutoFormType) UnmarshalJSON ¶
func (s *AutoFormType) UnmarshalJSON(data []byte) error
UnmarshalJSON function to convert json into enum value
type BasicAuthSrategy ¶
type BasicAuthSrategy struct{}
type CodeEditorLanguage ¶
type CodeEditorLanguage string
const ( Javascript CodeEditorLanguage = "javascript" GoLang CodeEditorLanguage = "go" Typescript CodeEditorLanguage = "typescript" Lua CodeEditorLanguage = "lua" PGSql CodeEditorLanguage = "pgsql" )
func CodeEditorLanguageFromString ¶
func CodeEditorLanguageFromString(raw string) (CodeEditorLanguage, bool)
CodeEditorLanguageFromString determines the enum value with an exact case match.
func CodeEditorLanguageFromStringIgnoreCase ¶
func CodeEditorLanguageFromStringIgnoreCase(raw string) (CodeEditorLanguage, bool)
CodeEditorLanguageFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (CodeEditorLanguage) IsValid ¶
func (_j CodeEditorLanguage) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (CodeEditorLanguage) MarshalBinary ¶
func (_j CodeEditorLanguage) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for CodeEditorLanguage.
func (CodeEditorLanguage) MarshalGQL ¶
func (_j CodeEditorLanguage) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for CodeEditorLanguage.
func (CodeEditorLanguage) MarshalJSON ¶
func (_j CodeEditorLanguage) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for CodeEditorLanguage.
func (CodeEditorLanguage) MarshalText ¶
func (_j CodeEditorLanguage) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for CodeEditorLanguage.
func (CodeEditorLanguage) MarshalYAML ¶
func (_j CodeEditorLanguage) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for CodeEditorLanguage.
func (CodeEditorLanguage) SQLTypeName ¶
func (CodeEditorLanguage) SQLTypeName() string
func (*CodeEditorLanguage) Scan ¶
func (_j *CodeEditorLanguage) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for CodeEditorLanguage.
func (CodeEditorLanguage) String ¶
func (_j CodeEditorLanguage) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern CodeEditorLanguage(%d) instead.
func (*CodeEditorLanguage) UnmarshalBinary ¶
func (_j *CodeEditorLanguage) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for CodeEditorLanguage.
func (*CodeEditorLanguage) UnmarshalGQL ¶
func (_j *CodeEditorLanguage) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for CodeEditorLanguage.
func (*CodeEditorLanguage) UnmarshalJSON ¶
func (_j *CodeEditorLanguage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for CodeEditorLanguage.
func (*CodeEditorLanguage) UnmarshalText ¶
func (_j *CodeEditorLanguage) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for CodeEditorLanguage.
func (*CodeEditorLanguage) UnmarshalYAML ¶
func (_j *CodeEditorLanguage) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for CodeEditorLanguage.
func (CodeEditorLanguage) Validate ¶
func (_j CodeEditorLanguage) Validate() error
Validate whether the value is within the range of enum values.
func (CodeEditorLanguage) Values ¶
func (CodeEditorLanguage) Values() []string
Values returns a slice of all String values of the enum.
type ConnectorAuthMetadata ¶
type ConnectorAuthMetadata struct { ClientID *string `json:"clientId,omitempty"` ClientSecret *string `json:"clientSecret,omitempty"` AuthURL *string `json:"authUrl,omitempty"` TokenURL *string `json:"tokenUrl,omitempty"` Username *string `json:"username,omitempty"` Password *string `json:"password,omitempty"` Secret *string `json:"secret,omitempty"` RedirectURL *string `json:"redirectUrl,omitempty"` Scopes []string `json:"scope,omitempty"` Key *string `json:"key,omitempty"` Extra map[string]string `json:"extra,omitempty"` }
type ConnectorAuthentication ¶
type ConnectorAuthentication struct {
AuthType string `json:"authType"`
}
ConnectorAuthentication is a Task operation type.
type ConnectorPlatform ¶ added in v0.2.2
type ConnectorPlatform string
const ( ConnectorPlatformNative ConnectorPlatform = "native" ConnectorPlatformPlugin ConnectorPlatform = "plugin" ConnectorPlatformWasm ConnectorPlatform = "wasm" )
func ConnectorPlatformFromString ¶ added in v0.2.2
func ConnectorPlatformFromString(raw string) (ConnectorPlatform, bool)
ConnectorPlatformFromString determines the enum value with an exact case match.
func ConnectorPlatformFromStringIgnoreCase ¶ added in v0.2.2
func ConnectorPlatformFromStringIgnoreCase(raw string) (ConnectorPlatform, bool)
ConnectorPlatformFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (ConnectorPlatform) IsValid ¶ added in v0.2.2
func (_j ConnectorPlatform) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (ConnectorPlatform) MarshalBinary ¶ added in v0.2.2
func (_j ConnectorPlatform) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for ConnectorPlatform.
func (ConnectorPlatform) MarshalGQL ¶ added in v0.2.2
func (_j ConnectorPlatform) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for ConnectorPlatform.
func (ConnectorPlatform) MarshalJSON ¶ added in v0.2.2
func (_j ConnectorPlatform) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ConnectorPlatform.
func (ConnectorPlatform) MarshalText ¶ added in v0.2.2
func (_j ConnectorPlatform) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for ConnectorPlatform.
func (ConnectorPlatform) MarshalYAML ¶ added in v0.2.2
func (_j ConnectorPlatform) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for ConnectorPlatform.
func (ConnectorPlatform) SQLTypeName ¶ added in v0.2.2
func (ConnectorPlatform) SQLTypeName() string
func (*ConnectorPlatform) Scan ¶ added in v0.2.2
func (_j *ConnectorPlatform) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for ConnectorPlatform.
func (ConnectorPlatform) String ¶ added in v0.2.2
func (_j ConnectorPlatform) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern ConnectorPlatform(%d) instead.
func (*ConnectorPlatform) UnmarshalBinary ¶ added in v0.2.2
func (_j *ConnectorPlatform) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for ConnectorPlatform.
func (*ConnectorPlatform) UnmarshalGQL ¶ added in v0.2.2
func (_j *ConnectorPlatform) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for ConnectorPlatform.
func (*ConnectorPlatform) UnmarshalJSON ¶ added in v0.2.2
func (_j *ConnectorPlatform) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConnectorPlatform.
func (*ConnectorPlatform) UnmarshalText ¶ added in v0.2.2
func (_j *ConnectorPlatform) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for ConnectorPlatform.
func (*ConnectorPlatform) UnmarshalYAML ¶ added in v0.2.2
func (_j *ConnectorPlatform) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for ConnectorPlatform.
func (ConnectorPlatform) Validate ¶ added in v0.2.2
func (_j ConnectorPlatform) Validate() error
Validate whether the value is within the range of enum values.
func (ConnectorPlatform) Values ¶ added in v0.2.2
func (ConnectorPlatform) Values() []string
Values returns a slice of all String values of the enum.
type ConnectorPlugin ¶
type ConnectorPlugin struct { // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Description holds the value of the "deleted" field. Description string `json:"description"` // Version holds the value of the "version" field. Version string `json:"version"` // TeamType holds the value of the "language" field. Language PluginLanguage `json:"language,omitempty"` }
ConnectorPlugin is a ConnectorPlugin model.
type ConnectorProperties ¶
type ConnectorProperties struct { FormState FormState `json:"formState"` Input JSONObject `json:"input"` Output any `json:"output"` LastTestTime *int `json:"lastTestTime"` LastTestStatus *TestStatus `json:"lastTestStatus"` }
ConnectorProperties is a Task operation type.
type ConnectorStep ¶
type ConnectorStep struct { // Label of the step Label string `json:"label,omitempty" validate:"required"` // Icon of the step Icon string `json:"icon,omitempty" validate:"required"` // Name of the schema Name string `json:"name,omitempty" validate:"required"` // IsTrigger of the schema IsTrigger bool `json:"isTrigger" validate:"required"` // Path of the schema Path []string `json:"path,omitempty" validate:"required"` NodeIndex int `json:"nodeIndex" validate:"required"` // Icon of the step Type StepType `json:"type,omitempty" validate:"required"` // Data of the step Data ConnectorStepData `json:"data,omitempty"` // Data of the step Children *[]ConnectorStep `json:"children,omitempty"` Reference *EntityReference `json:"reference,omitempty"` Metadata ConnectorStepMetadata `json:"metadata,omitempty" validate:"required"` TriggerSettings *StepTriggerSettings `json:"triggerSettings,omitempty"` // ParentID of the step ParentID *string `json:"parentId,omitempty"` // ErrorSettings of the step ErrorSettings StepErrorSettings `json:"errorSettings,omitempty"` // ContinueOnError of the step Valid bool `json:"valid,omitempty"` // IsFolded if step is folded IsFolded bool `json:"isFolded,omitempty"` }
func FlattenSteps ¶ added in v0.5.0
func FlattenSteps(node *ConnectorStep) []*ConnectorStep
type ConnectorStepData ¶
type ConnectorStepData struct { OperationID *string `json:"operationId"` AuthConnectionID *uuid.UUID `json:"authConnectionId"` Properties ConnectorProperties `json:"properties"` }
type ConnectorStepMetadata ¶
type ConnectorStepMetadata struct { ConnectorName string `json:"connectorName,omitempty"` ConnectorVersion string `json:"connectorVersion,omitempty"` TriggerType *TriggerType `json:"triggerType,omitempty"` }
type ConnectorStepPosition ¶
type ConnectorType ¶ added in v0.2.2
type ConnectorType string
const ( ConnectorTypeBranch ConnectorType = "branch" ConnectorTypeBoolean ConnectorType = "boolean" ConnectorTypeNormal ConnectorType = "normal" ConnectorTypeLoop ConnectorType = "loop" ConnectorTypeAction ConnectorType = "action" )
func ConnectorTypeFromString ¶ added in v0.2.2
func ConnectorTypeFromString(raw string) (ConnectorType, bool)
ConnectorTypeFromString determines the enum value with an exact case match.
func ConnectorTypeFromStringIgnoreCase ¶ added in v0.2.2
func ConnectorTypeFromStringIgnoreCase(raw string) (ConnectorType, bool)
ConnectorTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (ConnectorType) IsValid ¶ added in v0.2.2
func (_j ConnectorType) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (ConnectorType) MarshalBinary ¶ added in v0.2.2
func (_j ConnectorType) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for ConnectorType.
func (ConnectorType) MarshalGQL ¶ added in v0.2.2
func (_j ConnectorType) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for ConnectorType.
func (ConnectorType) MarshalJSON ¶ added in v0.2.2
func (_j ConnectorType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ConnectorType.
func (ConnectorType) MarshalText ¶ added in v0.2.2
func (_j ConnectorType) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for ConnectorType.
func (ConnectorType) MarshalYAML ¶ added in v0.2.2
func (_j ConnectorType) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for ConnectorType.
func (ConnectorType) SQLTypeName ¶ added in v0.2.2
func (ConnectorType) SQLTypeName() string
func (*ConnectorType) Scan ¶ added in v0.2.2
func (_j *ConnectorType) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for ConnectorType.
func (ConnectorType) String ¶ added in v0.2.2
func (_j ConnectorType) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern ConnectorType(%d) instead.
func (*ConnectorType) UnmarshalBinary ¶ added in v0.2.2
func (_j *ConnectorType) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for ConnectorType.
func (*ConnectorType) UnmarshalGQL ¶ added in v0.2.2
func (_j *ConnectorType) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for ConnectorType.
func (*ConnectorType) UnmarshalJSON ¶ added in v0.2.2
func (_j *ConnectorType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ConnectorType.
func (*ConnectorType) UnmarshalText ¶ added in v0.2.2
func (_j *ConnectorType) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for ConnectorType.
func (*ConnectorType) UnmarshalYAML ¶ added in v0.2.2
func (_j *ConnectorType) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for ConnectorType.
func (ConnectorType) Validate ¶ added in v0.2.2
func (_j ConnectorType) Validate() error
Validate whether the value is within the range of enum values.
func (ConnectorType) Values ¶ added in v0.2.2
func (ConnectorType) Values() []string
Values returns a slice of all String values of the enum.
type ConnectorVersionMetadata ¶
type ConnectorVersionMetadata struct { // ID of the ent. ID uuid.UUID `json:"id,omitempty"` // DeletedAt holds the value of the "delete_time" field. DeletedAt time.Time `json:"delete_time,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at,omitempty"` // Auth holds the value of the "auth" field. Auth AuthOperation `json:"auth,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // DisplayName holds the value of the "display_name" field. DisplayName string `json:"display_name,omitempty"` // Description holds the value of the "description" field. Description string `json:"description,omitempty"` // Icon holds the value of the "icon" field. Icon string `json:"icon,omitempty"` // Version holds the value of the "version" field. Version string `json:"version,omitempty"` // Namespace holds the value of the "namespace" field. Namespace *string `json:"namespace,omitempty"` // Namespace holds the value of the "namespace" field. RegistryName string `json:"registry_name,omitempty"` // Documentation holds the value of the "documentation" field. Documentation *string `json:"documentation,omitempty"` // ReleaseNotes holds the value of the "release_notes" field. ReleaseNotes *string `json:"release_notes,omitempty"` // ConnectorID holds the value of the "connector_id" field. ConnectorID uuid.UUID `json:"connector_id,omitempty"` // MajorVersion holds the value of the "major_version" field. MajorVersion int `json:"major_version,omitempty"` // MinorVersion holds the value of the "minor_version" field. MinorVersion int `json:"minor_version,omitempty"` // PatchVersion holds the value of the "patch_version" field. PatchVersion int `json:"patch_version,omitempty"` // BuildMetadata holds the value of the "build_metadata" field. BuildMetadata *string `json:"build_metadata,omitempty"` // FileURL holds the value of the "file_url" field. FileURL *string `json:"file_url,omitempty"` // FileHash holds the value of the "file_hash" field. FileHash *string `json:"file_hash,omitempty"` // Type holds the value of the "type" field. Type ConnectorType `json:"type,omitempty"` // Platform holds the value of the "platform" field. Platform ConnectorPlatform `json:"platform,omitempty"` // Metadata holds the value of the "metadata" field. Metadata PluginMetadata `json:"metadata,omitempty"` // MinimumSupportedVersion holds the value of the "minimum_supported_version" field. MinimumSupportedVersion string `json:"minimum_supported_version,omitempty"` // MaximumSupportedVersion holds the value of the "maximum_supported_version" field. MaximumSupportedVersion string `json:"maximum_supported_version,omitempty"` // Operations holds the value of the "operations" field. Operations map[string]*Operation `json:"operations,omitempty"` // Triggers holds the value of the "triggers" field. Triggers map[string]*Trigger `json:"triggers,omitempty"` // HasTrigger holds the value of the "has_trigger" field. HasTrigger bool `json:"has_trigger,omitempty"` // Published holds the value of the "published" field. Published bool `json:"published"` // Approved holds the value of the "approved" field. Approved bool `json:"approved"` }
ConnectorVersionMetadata is the model entity for the ConnectorVersion schema.
type DynamicFieldContext ¶ added in v0.2.7
type DynamicFieldContext struct { *GetDynamicOptionsInput Auth *AuthContext `json:"auth,omitempty"` Input any `json:"input,omitempty"` Ctx context.Context }
func NewDynamicFieldContext ¶ added in v0.8.0
func NewDynamicFieldContext(ctx DynamicFieldContext) *DynamicFieldContext
func (*DynamicFieldContext) GetContext ¶ added in v0.5.0
func (c *DynamicFieldContext) GetContext() context.Context
func (*DynamicFieldContext) Respond ¶ added in v0.8.0
func (c *DynamicFieldContext) Respond(data any, totalItems int) (*DynamicOptionsResponse, error)
func (*DynamicFieldContext) RespondJSON ¶ added in v0.8.0
func (c *DynamicFieldContext) RespondJSON(data any, totalItems int) (JSON, error)
type DynamicFieldPaging ¶ added in v0.8.0
type DynamicFieldPaging struct { *GetDynamicOptionsInput Auth *AuthContext `json:"auth,omitempty"` Input any `json:"input,omitempty"` Ctx context.Context }
type DynamicOptionsFilterParams ¶ added in v0.8.0
type DynamicOptionsFn ¶
type DynamicOptionsFn = func(ctx *DynamicFieldContext) (*DynamicOptionsResponse, error)
type DynamicOptionsResponse ¶ added in v0.8.0
type DynamicOptionsResponse struct { Metadata OffsetPaginationMeta `json:"metadata"` Items any `json:"items"` }
type EntityReference ¶
type EntityReference struct { // Field such is the unique field name of the entity Field string `json:"field,omitempty"` // Value such is the unique field value of the entity Value string `json:"value,omitempty"` // Value such is the unique field value of the entity Version *string `json:"version,omitempty"` // Type of the entity Entity string `json:"entity,omitempty"` }
type ExecutionType ¶
type ExecutionType string
const ( Begin ExecutionType = "BEGIN" Resume ExecutionType = "RESUME" )
func ExecutionTypeFromString ¶
func ExecutionTypeFromString(raw string) (ExecutionType, bool)
ExecutionTypeFromString determines the enum value with an exact case match.
func ExecutionTypeFromStringIgnoreCase ¶
func ExecutionTypeFromStringIgnoreCase(raw string) (ExecutionType, bool)
ExecutionTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (ExecutionType) IsValid ¶
func (_j ExecutionType) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (ExecutionType) MarshalBinary ¶
func (_j ExecutionType) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for ExecutionType.
func (ExecutionType) MarshalGQL ¶
func (_j ExecutionType) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for ExecutionType.
func (ExecutionType) MarshalJSON ¶
func (_j ExecutionType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for ExecutionType.
func (ExecutionType) MarshalText ¶
func (_j ExecutionType) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for ExecutionType.
func (ExecutionType) MarshalYAML ¶
func (_j ExecutionType) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for ExecutionType.
func (ExecutionType) SQLTypeName ¶
func (ExecutionType) SQLTypeName() string
func (*ExecutionType) Scan ¶
func (_j *ExecutionType) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for ExecutionType.
func (ExecutionType) String ¶
func (_j ExecutionType) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern ExecutionType(%d) instead.
func (*ExecutionType) UnmarshalBinary ¶
func (_j *ExecutionType) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for ExecutionType.
func (*ExecutionType) UnmarshalGQL ¶
func (_j *ExecutionType) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for ExecutionType.
func (*ExecutionType) UnmarshalJSON ¶
func (_j *ExecutionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for ExecutionType.
func (*ExecutionType) UnmarshalText ¶
func (_j *ExecutionType) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for ExecutionType.
func (*ExecutionType) UnmarshalYAML ¶
func (_j *ExecutionType) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for ExecutionType.
func (ExecutionType) Validate ¶
func (_j ExecutionType) Validate() error
Validate whether the value is within the range of enum values.
func (ExecutionType) Values ¶
func (ExecutionType) Values() []string
Values returns a slice of all String values of the enum.
type FieldLogicOperators ¶
type FieldLogicOperators string
const ( Eq FieldLogicOperators = "==" EEq FieldLogicOperators = "===" NEq FieldLogicOperators = "!=" NNEq FieldLogicOperators = "!==" Not FieldLogicOperators = "!" NNot FieldLogicOperators = "!!" Or FieldLogicOperators = "or" And FieldLogicOperators = "and" Lt FieldLogicOperators = "<" Gt FieldLogicOperators = ">" GEq FieldLogicOperators = ">=" LEq FieldLogicOperators = "<=" Between FieldLogicOperators = "between" Max FieldLogicOperators = "max" Min FieldLogicOperators = "min" Plus FieldLogicOperators = "+" Minus FieldLogicOperators = "-" Divide FieldLogicOperators = "/" Modulo FieldLogicOperators = "%" Map FieldLogicOperators = "map" Reduce FieldLogicOperators = "reduce" Filter FieldLogicOperators = "filter" All FieldLogicOperators = "all" Some FieldLogicOperators = "some" Merge FieldLogicOperators = "merge" In FieldLogicOperators = "in" Cat FieldLogicOperators = "cat" Substr FieldLogicOperators = "substr" )
func FieldLogicOperatorsFromString ¶
func FieldLogicOperatorsFromString(raw string) (FieldLogicOperators, bool)
FieldLogicOperatorsFromString determines the enum value with an exact case match.
func FieldLogicOperatorsFromStringIgnoreCase ¶
func FieldLogicOperatorsFromStringIgnoreCase(raw string) (FieldLogicOperators, bool)
FieldLogicOperatorsFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (FieldLogicOperators) IsValid ¶
func (_j FieldLogicOperators) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (FieldLogicOperators) MarshalBinary ¶
func (_j FieldLogicOperators) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for FieldLogicOperators.
func (FieldLogicOperators) MarshalGQL ¶
func (_j FieldLogicOperators) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for FieldLogicOperators.
func (FieldLogicOperators) MarshalJSON ¶
func (_j FieldLogicOperators) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for FieldLogicOperators.
func (FieldLogicOperators) MarshalText ¶
func (_j FieldLogicOperators) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for FieldLogicOperators.
func (FieldLogicOperators) MarshalYAML ¶
func (_j FieldLogicOperators) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for FieldLogicOperators.
func (FieldLogicOperators) SQLTypeName ¶
func (FieldLogicOperators) SQLTypeName() string
func (*FieldLogicOperators) Scan ¶
func (_j *FieldLogicOperators) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for FieldLogicOperators.
func (FieldLogicOperators) String ¶
func (_j FieldLogicOperators) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern FieldLogicOperators(%d) instead.
func (*FieldLogicOperators) UnmarshalBinary ¶
func (_j *FieldLogicOperators) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for FieldLogicOperators.
func (*FieldLogicOperators) UnmarshalGQL ¶
func (_j *FieldLogicOperators) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for FieldLogicOperators.
func (*FieldLogicOperators) UnmarshalJSON ¶
func (_j *FieldLogicOperators) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for FieldLogicOperators.
func (*FieldLogicOperators) UnmarshalText ¶
func (_j *FieldLogicOperators) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for FieldLogicOperators.
func (*FieldLogicOperators) UnmarshalYAML ¶
func (_j *FieldLogicOperators) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for FieldLogicOperators.
func (FieldLogicOperators) Validate ¶
func (_j FieldLogicOperators) Validate() error
Validate whether the value is within the range of enum values.
func (FieldLogicOperators) Values ¶
func (FieldLogicOperators) Values() []string
Values returns a slice of all String values of the enum.
type FileManager ¶
type FormState ¶ added in v0.8.0
type FormState struct { Pristine bool `json:"pristine"` Dirty bool `json:"dirty"` Disabled bool `json:"disabled"` Submitted bool `json:"submitted"` Valid bool `json:"valid"` Invalid bool `json:"invalid"` Submitting bool `json:"submitting"` Validating int `json:"validating"` Gathering int `json:"gathering"` Values map[string]any `json:"values"` MaskedValues map[string]any `json:"maskedValues"` Errors map[string]any `json:"errors"` Touched map[string]any `json:"touched"` Modified map[string]any `json:"modified"` Dirt map[string]any `json:"dirt"` Focused map[string]any `json:"focused"` InitialValues map[string]any `json:"initialValues"` Data map[string]any `json:"data"` Memory map[string]any `json:"memory"` }
type GetDynamicOptionsInput ¶
type GetDynamicOptionsInput struct { ConnectorName string `json:"connectorName"` ConnectorVersion string `json:"connectorVersion"` FieldName string `json:"fieldName"` OperationName string `json:"operationName"` StepName string `json:"stepName"` WorkflowID string `json:"workflowId"` WorkflowVersionID *string `json:"workflowVersionId,omitempty"` Input map[string]interface{} `json:"input,omitempty"` Filter *DynamicOptionsFilterParams `json:"filter,omitempty"` }
type JobStatus ¶ added in v0.2.2
type JobStatus string
func JobStatusFromString ¶ added in v0.2.2
JobStatusFromString determines the enum value with an exact case match.
func JobStatusFromStringIgnoreCase ¶ added in v0.2.2
JobStatusFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (JobStatus) MarshalBinary ¶ added in v0.2.2
MarshalBinary implements the encoding.BinaryMarshaler interface for JobStatus.
func (JobStatus) MarshalGQL ¶ added in v0.2.2
MarshalGQL implements the graphql.Marshaler interface for JobStatus.
func (JobStatus) MarshalJSON ¶ added in v0.2.2
MarshalJSON implements the json.Marshaler interface for JobStatus.
func (JobStatus) MarshalText ¶ added in v0.2.2
MarshalText implements the encoding.TextMarshaler interface for JobStatus.
func (JobStatus) MarshalYAML ¶ added in v0.2.2
MarshalYAML implements a YAML Marshaler for JobStatus.
func (JobStatus) SQLTypeName ¶ added in v0.2.2
func (*JobStatus) Scan ¶ added in v0.2.2
Scan implements the sql/driver.Scanner interface for JobStatus.
func (JobStatus) String ¶ added in v0.2.2
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern JobStatus(%d) instead.
func (*JobStatus) UnmarshalBinary ¶ added in v0.2.2
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalGQL ¶ added in v0.2.2
UnmarshalGQL implements the graphql.Unmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalJSON ¶ added in v0.2.2
UnmarshalJSON implements the json.Unmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalText ¶ added in v0.2.2
UnmarshalText implements the encoding.TextUnmarshaler interface for JobStatus.
func (*JobStatus) UnmarshalYAML ¶ added in v0.2.2
UnmarshalYAML implements a YAML Unmarshaler for JobStatus.
type Log ¶ added in v0.2.7
type Log struct {
// contains filtered or unexported fields
}
func NewLog ¶ added in v0.2.7
func NewLog( projectID string, workflowID string, stepRunID *string, onWrite func(WriteLogLineOpts), ) *Log
func (*Log) Debug ¶ added in v0.2.7
func (b *Log) Debug() *LogBuilder
func (*Log) Error ¶ added in v0.2.7
func (b *Log) Error() *LogBuilder
func (*Log) Info ¶ added in v0.2.7
func (b *Log) Info() *LogBuilder
func (*Log) Warn ¶ added in v0.2.7
func (b *Log) Warn() *LogBuilder
type LogBuilder ¶ added in v0.2.7
type LogBuilder struct {
// contains filtered or unexported fields
}
func NewLogBuilder ¶ added in v0.2.7
func NewLogBuilder( ops *WriteLogLineOpts, onWrite func(WriteLogLineOpts), ) *LogBuilder
func (*LogBuilder) Meta ¶ added in v0.2.7
func (b *LogBuilder) Meta(meta map[string]interface{}) *LogBuilder
func (*LogBuilder) Msg ¶ added in v0.2.7
func (b *LogBuilder) Msg(message string)
type LogLine ¶ added in v0.2.7
type LogLine struct { // ID of the ent. ID uuid.UUID `json:"id,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // ProjectID holds the value of the "team_id" field. ProjectID uuid.UUID `json:"project_id,omitempty"` // StepRunID holds the value of the "step_run_id" field. StepRunID *string `json:"step_run_id,omitempty"` // WorkflowID holds the value of the "step_run_id" field. WorkflowID *string `json:"workflow_id,omitempty"` // Message holds the value of the "message" field. Message string `json:"message,omitempty"` // Level holds the value of the "level" field. Level LogLineLevel `json:"level,omitempty"` // Metadata holds the value of the "metadata" field. Metadata map[string]interface{} `json:"metadata,omitempty"` }
LogLine is the model entity for the LogLine schema.
type LogLineLevel ¶ added in v0.2.7
type LogLineLevel string
LogLineLevel represents the kind of job to be started.
const ( LogLineLevelDebug LogLineLevel = "DEBUG" LogLineLevelInfo LogLineLevel = "INFO" LogLineLevelWarn LogLineLevel = "WARN" LogLineLevelError LogLineLevel = "ERROR" )
Available job kinds.
func LogLineLevelFromString ¶ added in v0.2.7
func LogLineLevelFromString(raw string) (LogLineLevel, bool)
LogLineLevelFromString determines the enum value with an exact case match.
func LogLineLevelFromStringIgnoreCase ¶ added in v0.2.7
func LogLineLevelFromStringIgnoreCase(raw string) (LogLineLevel, bool)
LogLineLevelFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (LogLineLevel) IsValid ¶ added in v0.2.7
func (_j LogLineLevel) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (LogLineLevel) MarshalBinary ¶ added in v0.2.7
func (_j LogLineLevel) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for LogLineLevel.
func (LogLineLevel) MarshalGQL ¶ added in v0.2.7
func (_j LogLineLevel) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for LogLineLevel.
func (LogLineLevel) MarshalJSON ¶ added in v0.2.7
func (_j LogLineLevel) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for LogLineLevel.
func (LogLineLevel) MarshalText ¶ added in v0.2.7
func (_j LogLineLevel) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for LogLineLevel.
func (LogLineLevel) MarshalYAML ¶ added in v0.2.7
func (_j LogLineLevel) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for LogLineLevel.
func (LogLineLevel) SQLTypeName ¶ added in v0.2.7
func (LogLineLevel) SQLTypeName() string
func (*LogLineLevel) Scan ¶ added in v0.2.7
func (_j *LogLineLevel) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for LogLineLevel.
func (LogLineLevel) String ¶ added in v0.2.7
func (_j LogLineLevel) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern LogLineLevel(%d) instead.
func (*LogLineLevel) UnmarshalBinary ¶ added in v0.2.7
func (_j *LogLineLevel) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for LogLineLevel.
func (*LogLineLevel) UnmarshalGQL ¶ added in v0.2.7
func (_j *LogLineLevel) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for LogLineLevel.
func (*LogLineLevel) UnmarshalJSON ¶ added in v0.2.7
func (_j *LogLineLevel) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for LogLineLevel.
func (*LogLineLevel) UnmarshalText ¶ added in v0.2.7
func (_j *LogLineLevel) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for LogLineLevel.
func (*LogLineLevel) UnmarshalYAML ¶ added in v0.2.7
func (_j *LogLineLevel) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for LogLineLevel.
func (LogLineLevel) Validate ¶ added in v0.2.7
func (_j LogLineLevel) Validate() error
Validate whether the value is within the range of enum values.
func (LogLineLevel) Values ¶ added in v0.2.7
func (LogLineLevel) Values() []string
Values returns a slice of all String values of the enum.
type OauthStrategy ¶
type OauthStrategy struct { ClientID string `json:"client_id"` ClientSecret string `json:"client_secret"` RedirectURL string `json:"redirect_url"` Scopes []string `json:"scopes"` Endpoint AuthEndpoint `json:"endpoint"` ResponseType string `json:"response_type"` GrantType string `json:"grant_type"` State string `json:"state"` AuthMethod string `json:"auth_method"` CodeChallenge string `json:"code_challenge"` CodeChallengeMath string `json:"code_challenge_math"` PrivateKey string `json:"private_key"` ExtraParams map[string]string `json:"extra_params"` }
type OauthTokenResponse ¶
type OauthTokenResponse struct { AccessToken string `json:"access_token,omitempty"` TokenType string `json:"token_type,omitempty"` ExpiresIn int64 `json:"expires_in,omitempty"` RefreshToken string `json:"refresh_token,omitempty"` Scope string `json:"scope,omitempty"` Extra map[string]string `json:"extra,omitempty"` }
type OffsetPaginationMeta ¶ added in v0.8.0
type Operation ¶
type Operation struct { // Key holds the value of the "key" field. Name string `json:"key,omitempty"` // Name holds the value of the "name" field. DisplayName string `json:"name,omitempty"` // Description holds the value of the "description" field. Description string `json:"description,omitempty"` // HelpText holds the value of the "helpText" field. HelpText *string `json:"helpText,omitempty"` // Input holds the value of the "input" field. Input *AutoFormSchema `json:"input,omitempty"` // Auth holds the value of the "auth" field. Auth *AutoFormSchema `json:"auth,omitempty"` // Output holds the value of the "output" field. Output map[string]any `json:"output,omitempty"` // SampleOutput holds the value of the "sample_output" field. SampleOutput map[string]any `json:"sampleOutput,omitempty"` ErrorSettings StepErrorSettings `json:"errorSettings,omitempty"` RequireAuth bool `json:"requireAuth"` // Documentation represents the field used to store the connector's documentation in markdown. Documentation *string `json:"documentation,omitempty"` }
Operation .
type Operations ¶
type OperationsList ¶
type OperationsList = []*Operation
type PauseType ¶
type PauseType string
func PauseTypeFromString ¶
PauseTypeFromString determines the enum value with an exact case match.
func PauseTypeFromStringIgnoreCase ¶
PauseTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (PauseType) MarshalBinary ¶
MarshalBinary implements the encoding.BinaryMarshaler interface for PauseType.
func (PauseType) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface for PauseType.
func (PauseType) MarshalJSON ¶
MarshalJSON implements the json.Marshaler interface for PauseType.
func (PauseType) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface for PauseType.
func (PauseType) MarshalYAML ¶
MarshalYAML implements a YAML Marshaler for PauseType.
func (PauseType) SQLTypeName ¶
func (PauseType) String ¶
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern PauseType(%d) instead.
func (*PauseType) UnmarshalBinary ¶
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for PauseType.
func (*PauseType) UnmarshalGQL ¶
UnmarshalGQL implements the graphql.Unmarshaler interface for PauseType.
func (*PauseType) UnmarshalJSON ¶
UnmarshalJSON implements the json.Unmarshaler interface for PauseType.
func (*PauseType) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface for PauseType.
func (*PauseType) UnmarshalYAML ¶
UnmarshalYAML implements a YAML Unmarshaler for PauseType.
type PluginCompiler ¶ added in v0.2.2
type PluginCompiler string
PluginCompiler enum definition.
const ( Wasm PluginCompiler = "wasm" Wasi PluginCompiler = "wasi" Wasix PluginCompiler = "wasix" TinyGo PluginCompiler = "tinygo" )
func (PluginCompiler) IsValid ¶ added in v0.2.2
func (e PluginCompiler) IsValid() bool
func (PluginCompiler) MarshalGQL ¶ added in v0.2.2
func (e PluginCompiler) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface
func (PluginCompiler) String ¶ added in v0.2.2
func (e PluginCompiler) String() string
func (PluginCompiler) UnmarshalGQL ¶ added in v0.2.2
func (e PluginCompiler) UnmarshalGQL(v interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface
func (PluginCompiler) Values ¶ added in v0.2.2
func (PluginCompiler) Values() (kinds []string)
Values provides list valid values for Enum.
type PluginLanguage ¶ added in v0.2.2
type PluginLanguage string
PluginLanguage enum definition.
const ( PluginLanguageRust PluginLanguage = "rust" PluginLanguageGolang PluginLanguage = "golang" PluginLanguagePython PluginLanguage = "python" PluginLanguageZig PluginLanguage = "zig" )
func (PluginLanguage) IsValid ¶ added in v0.2.2
func (e PluginLanguage) IsValid() bool
func (PluginLanguage) MarshalGQL ¶ added in v0.2.2
func (e PluginLanguage) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface
func (PluginLanguage) String ¶ added in v0.2.2
func (e PluginLanguage) String() string
func (PluginLanguage) UnmarshalGQL ¶ added in v0.2.2
func (e PluginLanguage) UnmarshalGQL(v interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface
func (PluginLanguage) Values ¶ added in v0.2.2
func (PluginLanguage) Values() (kinds []string)
Values provides list valid values for Enum.
type PluginMetadata ¶
type PluginMetadata struct { Compiler PluginCompiler `json:"compiler"` Language PluginLanguage `json:"language,omitempty"` }
PluginMetadata is a PluginMetadata model.
type RunModeType ¶
type RunModeType string
const ( TriggerRun RunModeType = "trigger" ManualRun RunModeType = "manual" ScheduledRun RunModeType = "schedule" )
func RunModeTypeFromString ¶
func RunModeTypeFromString(raw string) (RunModeType, bool)
RunModeTypeFromString determines the enum value with an exact case match.
func RunModeTypeFromStringIgnoreCase ¶
func RunModeTypeFromStringIgnoreCase(raw string) (RunModeType, bool)
RunModeTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (RunModeType) IsValid ¶
func (_j RunModeType) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (RunModeType) MarshalBinary ¶
func (_j RunModeType) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for RunModeType.
func (RunModeType) MarshalGQL ¶
func (_j RunModeType) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for RunModeType.
func (RunModeType) MarshalJSON ¶
func (_j RunModeType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for RunModeType.
func (RunModeType) MarshalText ¶
func (_j RunModeType) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for RunModeType.
func (RunModeType) MarshalYAML ¶
func (_j RunModeType) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for RunModeType.
func (RunModeType) SQLTypeName ¶
func (RunModeType) SQLTypeName() string
func (*RunModeType) Scan ¶
func (_j *RunModeType) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for RunModeType.
func (RunModeType) String ¶
func (_j RunModeType) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern RunModeType(%d) instead.
func (*RunModeType) UnmarshalBinary ¶
func (_j *RunModeType) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for RunModeType.
func (*RunModeType) UnmarshalGQL ¶
func (_j *RunModeType) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for RunModeType.
func (*RunModeType) UnmarshalJSON ¶
func (_j *RunModeType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for RunModeType.
func (*RunModeType) UnmarshalText ¶
func (_j *RunModeType) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for RunModeType.
func (*RunModeType) UnmarshalYAML ¶
func (_j *RunModeType) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for RunModeType.
func (RunModeType) Validate ¶
func (_j RunModeType) Validate() error
Validate whether the value is within the range of enum values.
func (RunModeType) Values ¶
func (RunModeType) Values() []string
Values returns a slice of all String values of the enum.
type StepEdge ¶
type StepEdge struct { // ID of the edge ID string `json:"id,omitempty"` // Source id of source step Source string `json:"source,omitempty"` // Target id of target step Target string `json:"target,omitempty"` // Type of step edge Type string `json:"type,omitempty"` // Style of step edge Style *map[string]interface{} `json:"style,omitempty"` }
StepEdge is the graph edge reference of the steps
type StepErrorSettings ¶
type StepRunData ¶ added in v0.2.7
type StepRunData struct { // ID of the ent. ID uuid.UUID `json:"id,omitempty"` // CreatedAt holds the value of the "created_at" field. CreatedAt time.Time `json:"created_at,omitempty"` // UpdatedAt holds the value of the "updated_at" field. UpdatedAt time.Time `json:"updated_at,omitempty"` // ProjectID holds the value of the "team_id" field. ProjectID uuid.UUID `json:"project_id,omitempty"` // Status holds the value of the "status" field. Status StepRunStatus `json:"status,omitempty"` // JobID holds the value of the "job_id" field. JobID int `json:"job_id,omitempty"` // Index holds the value of the "index" field. Index int `json:"index,omitempty"` // Order holds the value of the "order" field. Order int `json:"order,omitempty"` // WorkflowID holds the value of the "workflow_id" field. WorkflowID uuid.UUID `json:"workflow_id,omitempty"` // WorkflowVersionID holds the value of the "workflow_version_id" field. WorkflowVersionID *uuid.UUID `json:"workflow_version_id,omitempty"` // WorkflowRunID holds the value of the "workflow_run_id" field. WorkflowRunID uuid.UUID `json:"workflow_run_id,omitempty"` // ConnectorName holds the value of the "connector_name" field. ConnectorName string `json:"connector_name,omitempty"` // ConnectorVersion holds the value of the "connector_version" field. ConnectorVersion string `json:"connector_version,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Input holds the value of the "input" field. Input map[string]interface{} `json:"input,omitempty"` // Errors holds the value of the "errors" field. Errors []string `json:"errors,omitempty"` // Output holds the value of the "output" field. Output any `json:"output,omitempty"` // StartTime represents the start time of a step run. StartTime *time.Time `json:"start_time,omitempty"` // EndTime represents the end time of a step run. // It is a pointer to a time.Time value and can be nil. EndTime *time.Time `json:"end_time,omitempty"` }
type StepRunStatus ¶ added in v0.2.7
type StepRunStatus string
StepRunStatus represents the status of a step run.
const ( StepRunStatusPending StepRunStatus = "PENDING" StepRunStatusPendingAssignment StepRunStatus = "PENDING_ASSIGNMENT" StepRunStatusAssigned StepRunStatus = "ASSIGNED" StepRunStatusRunning StepRunStatus = "RUNNING" StepRunStatusSucceeded StepRunStatus = "SUCCEEDED" StepRunStatusFailed StepRunStatus = "FAILED" StepRunStatusCancelled StepRunStatus = "CANCELLED" )
Enum values for StepRunStatus.
func StepRunStatusFromString ¶ added in v0.2.7
func StepRunStatusFromString(raw string) (StepRunStatus, bool)
StepRunStatusFromString determines the enum value with an exact case match.
func StepRunStatusFromStringIgnoreCase ¶ added in v0.2.7
func StepRunStatusFromStringIgnoreCase(raw string) (StepRunStatus, bool)
StepRunStatusFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (StepRunStatus) IsValid ¶ added in v0.2.7
func (_j StepRunStatus) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (StepRunStatus) MarshalBinary ¶ added in v0.2.7
func (_j StepRunStatus) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for StepRunStatus.
func (StepRunStatus) MarshalGQL ¶ added in v0.2.7
func (_j StepRunStatus) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for StepRunStatus.
func (StepRunStatus) MarshalJSON ¶ added in v0.2.7
func (_j StepRunStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for StepRunStatus.
func (StepRunStatus) MarshalText ¶ added in v0.2.7
func (_j StepRunStatus) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for StepRunStatus.
func (StepRunStatus) MarshalYAML ¶ added in v0.2.7
func (_j StepRunStatus) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for StepRunStatus.
func (StepRunStatus) SQLTypeName ¶ added in v0.2.7
func (StepRunStatus) SQLTypeName() string
func (*StepRunStatus) Scan ¶ added in v0.2.7
func (_j *StepRunStatus) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for StepRunStatus.
func (StepRunStatus) String ¶ added in v0.2.7
func (_j StepRunStatus) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern StepRunStatus(%d) instead.
func (*StepRunStatus) UnmarshalBinary ¶ added in v0.2.7
func (_j *StepRunStatus) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for StepRunStatus.
func (*StepRunStatus) UnmarshalGQL ¶ added in v0.2.7
func (_j *StepRunStatus) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for StepRunStatus.
func (*StepRunStatus) UnmarshalJSON ¶ added in v0.2.7
func (_j *StepRunStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for StepRunStatus.
func (*StepRunStatus) UnmarshalText ¶ added in v0.2.7
func (_j *StepRunStatus) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for StepRunStatus.
func (*StepRunStatus) UnmarshalYAML ¶ added in v0.2.7
func (_j *StepRunStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for StepRunStatus.
func (StepRunStatus) Validate ¶ added in v0.2.7
func (_j StepRunStatus) Validate() error
Validate whether the value is within the range of enum values.
func (StepRunStatus) Values ¶ added in v0.2.7
func (StepRunStatus) Values() []string
Values returns a slice of all String values of the enum.
type StepState ¶
type StepState = StepRunData
type StepTriggerSettings ¶ added in v0.2.7
type StepTriggerSettings struct { *TriggerSettings // Type holds the value of the "type" field. Type TriggerType `json:"type,omitempty" validate:"required,oneof=SCHEDULED EVENT PUBSUB MANUAL WEBHOOK CRON"` }
type StepType ¶ added in v0.2.2
type StepType string
func StepTypeFromString ¶ added in v0.2.2
StepTypeFromString determines the enum value with an exact case match.
func StepTypeFromStringIgnoreCase ¶ added in v0.2.2
StepTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (StepType) MarshalBinary ¶ added in v0.2.2
MarshalBinary implements the encoding.BinaryMarshaler interface for StepType.
func (StepType) MarshalGQL ¶ added in v0.2.2
MarshalGQL implements the graphql.Marshaler interface for StepType.
func (StepType) MarshalJSON ¶ added in v0.2.2
MarshalJSON implements the json.Marshaler interface for StepType.
func (StepType) MarshalText ¶ added in v0.2.2
MarshalText implements the encoding.TextMarshaler interface for StepType.
func (StepType) MarshalYAML ¶ added in v0.2.2
MarshalYAML implements a YAML Marshaler for StepType.
func (StepType) SQLTypeName ¶ added in v0.2.2
func (*StepType) Scan ¶ added in v0.2.2
Scan implements the sql/driver.Scanner interface for StepType.
func (StepType) String ¶ added in v0.2.2
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern StepType(%d) instead.
func (*StepType) UnmarshalBinary ¶ added in v0.2.2
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for StepType.
func (*StepType) UnmarshalGQL ¶ added in v0.2.2
UnmarshalGQL implements the graphql.Unmarshaler interface for StepType.
func (*StepType) UnmarshalJSON ¶ added in v0.2.2
UnmarshalJSON implements the json.Unmarshaler interface for StepType.
func (*StepType) UnmarshalText ¶ added in v0.2.2
UnmarshalText implements the encoding.TextUnmarshaler interface for StepType.
func (*StepType) UnmarshalYAML ¶ added in v0.2.2
UnmarshalYAML implements a YAML Unmarshaler for StepType.
type StepsRunSnapshot ¶ added in v0.2.7
type StepsState ¶
type StepsState struct{}
type SystemActivityLog ¶
type SystemActivityLogs ¶
type SystemActivityLogs = []SystemActivityLog
type TaskOperation ¶
type TaskOperation struct { ID uuid.UUID `json:"id"` Name string `json:"name"` Description string `json:"description"` Input map[string]any `json:"input"` Output map[string]any `json:"output"` }
TaskOperation is a Task operation type.
type TestStatus ¶
type TestStatus string
const ( Fail TestStatus = "fail" Pass TestStatus = "pass" )
func TestStatusFromString ¶
func TestStatusFromString(raw string) (TestStatus, bool)
TestStatusFromString determines the enum value with an exact case match.
func TestStatusFromStringIgnoreCase ¶
func TestStatusFromStringIgnoreCase(raw string) (TestStatus, bool)
TestStatusFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (TestStatus) IsValid ¶
func (_j TestStatus) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (TestStatus) MarshalBinary ¶
func (_j TestStatus) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for TestStatus.
func (TestStatus) MarshalGQL ¶
func (_j TestStatus) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for TestStatus.
func (TestStatus) MarshalJSON ¶
func (_j TestStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for TestStatus.
func (TestStatus) MarshalText ¶
func (_j TestStatus) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for TestStatus.
func (TestStatus) MarshalYAML ¶
func (_j TestStatus) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for TestStatus.
func (TestStatus) SQLTypeName ¶
func (TestStatus) SQLTypeName() string
func (*TestStatus) Scan ¶
func (_j *TestStatus) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for TestStatus.
func (TestStatus) String ¶
func (_j TestStatus) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern TestStatus(%d) instead.
func (*TestStatus) UnmarshalBinary ¶
func (_j *TestStatus) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for TestStatus.
func (*TestStatus) UnmarshalGQL ¶
func (_j *TestStatus) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for TestStatus.
func (*TestStatus) UnmarshalJSON ¶
func (_j *TestStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TestStatus.
func (*TestStatus) UnmarshalText ¶
func (_j *TestStatus) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for TestStatus.
func (*TestStatus) UnmarshalYAML ¶
func (_j *TestStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for TestStatus.
func (TestStatus) Validate ¶
func (_j TestStatus) Validate() error
Validate whether the value is within the range of enum values.
func (TestStatus) Values ¶
func (TestStatus) Values() []string
Values returns a slice of all String values of the enum.
type TestWorkflowStepInput ¶
type Trigger ¶
type Trigger struct { // Name holds the value of the "name" field. Name string `json:"name,omitempty" validate:"required"` // DisplayName holds the value of the "displayName" field. DisplayName string `json:"displayName,omitempty" validate:"required"` // Description holds the value of the "description" field. Description string `json:"description,omitempty" validate:"required"` // HelpText holds the value of the "helpText" field. HelpText *string `json:"helpText,omitempty"` // Input holds the value of the "input" field. Input *AutoFormSchema `json:"input,omitempty"` // SampleOutput holds the value of the "sampleOutput" field. SampleOutput map[string]any `json:"sampleOutput,omitempty"` // Auth holds the value of the "auth" field. Auth *AutoFormSchema `json:"auth,omitempty"` // Type holds the value of the "type" field. Type TriggerType `json:"type,omitempty" validate:"required,oneof=SCHEDULED EVENT PUBSUB MANUAL WEBHOOK CRON"` Settings *TriggerSettings `json:"settings,omitempty"` ErrorSettings *StepErrorSettings `json:"errorSettings,omitempty"` RequireAuth bool `json:"requireAuth"` // Documentation represents the field used to store the connector's documentation in markdown. Documentation *string `json:"documentation,omitempty"` }
Trigger .
type TriggerHookType ¶
type TriggerHookType string
const ( TriggerHookTypeRun TriggerHookType = "RUN" TriggerHookTypeTest TriggerHookType = "TEST" TriggerHookTypeOnEnable TriggerHookType = "ON_ENABLED" TriggerHookTypeOnDisabled TriggerHookType = "ON_DISABLED" TriggerHookTypeRenew TriggerHookType = "RENEW" TriggerHookTypeOptions TriggerHookType = "OPTIONS" )
func TriggerHookTypeFromString ¶
func TriggerHookTypeFromString(raw string) (TriggerHookType, bool)
TriggerHookTypeFromString determines the enum value with an exact case match.
func TriggerHookTypeFromStringIgnoreCase ¶
func TriggerHookTypeFromStringIgnoreCase(raw string) (TriggerHookType, bool)
TriggerHookTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (TriggerHookType) IsValid ¶
func (_j TriggerHookType) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (TriggerHookType) MarshalBinary ¶
func (_j TriggerHookType) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for TriggerHookType.
func (TriggerHookType) MarshalGQL ¶
func (_j TriggerHookType) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for TriggerHookType.
func (TriggerHookType) MarshalJSON ¶
func (_j TriggerHookType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for TriggerHookType.
func (TriggerHookType) MarshalText ¶
func (_j TriggerHookType) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for TriggerHookType.
func (TriggerHookType) MarshalYAML ¶
func (_j TriggerHookType) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for TriggerHookType.
func (TriggerHookType) SQLTypeName ¶
func (TriggerHookType) SQLTypeName() string
func (*TriggerHookType) Scan ¶
func (_j *TriggerHookType) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for TriggerHookType.
func (TriggerHookType) String ¶
func (_j TriggerHookType) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern TriggerHookType(%d) instead.
func (*TriggerHookType) UnmarshalBinary ¶
func (_j *TriggerHookType) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for TriggerHookType.
func (*TriggerHookType) UnmarshalGQL ¶
func (_j *TriggerHookType) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for TriggerHookType.
func (*TriggerHookType) UnmarshalJSON ¶
func (_j *TriggerHookType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TriggerHookType.
func (*TriggerHookType) UnmarshalText ¶
func (_j *TriggerHookType) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for TriggerHookType.
func (*TriggerHookType) UnmarshalYAML ¶
func (_j *TriggerHookType) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for TriggerHookType.
func (TriggerHookType) Validate ¶
func (_j TriggerHookType) Validate() error
Validate whether the value is within the range of enum values.
func (TriggerHookType) Values ¶
func (TriggerHookType) Values() []string
Values returns a slice of all String values of the enum.
type TriggerManualConfig ¶
type TriggerManualConfig struct{}
type TriggerPubSubConfig ¶
type TriggerScheduledConfig ¶
type TriggerScheduledConfig struct { // Field of the step RunAt string `json:"runAt,omitempty"` }
type TriggerSettings ¶
type TriggerType ¶
type TriggerType string
const ( TriggerTypeScheduled TriggerType = "SCHEDULED" TriggerTypeEvent TriggerType = "EVENT" TriggerTypePubSub TriggerType = "PUBSUB" TriggerTypeManual TriggerType = "MANUAL" TriggerTypeWebhook TriggerType = "WEBHOOK" TriggerTypeCron TriggerType = "CRON" )
func TriggerTypeFromString ¶
func TriggerTypeFromString(raw string) (TriggerType, bool)
TriggerTypeFromString determines the enum value with an exact case match.
func TriggerTypeFromStringIgnoreCase ¶
func TriggerTypeFromStringIgnoreCase(raw string) (TriggerType, bool)
TriggerTypeFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (TriggerType) IsValid ¶
func (_j TriggerType) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (TriggerType) MarshalBinary ¶
func (_j TriggerType) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for TriggerType.
func (TriggerType) MarshalGQL ¶
func (_j TriggerType) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for TriggerType.
func (TriggerType) MarshalJSON ¶
func (_j TriggerType) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for TriggerType.
func (TriggerType) MarshalText ¶
func (_j TriggerType) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for TriggerType.
func (TriggerType) MarshalYAML ¶
func (_j TriggerType) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for TriggerType.
func (TriggerType) SQLTypeName ¶
func (TriggerType) SQLTypeName() string
func (*TriggerType) Scan ¶
func (_j *TriggerType) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for TriggerType.
func (TriggerType) String ¶
func (_j TriggerType) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern TriggerType(%d) instead.
func (*TriggerType) UnmarshalBinary ¶
func (_j *TriggerType) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for TriggerType.
func (*TriggerType) UnmarshalGQL ¶
func (_j *TriggerType) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for TriggerType.
func (*TriggerType) UnmarshalJSON ¶
func (_j *TriggerType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for TriggerType.
func (*TriggerType) UnmarshalText ¶
func (_j *TriggerType) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for TriggerType.
func (*TriggerType) UnmarshalYAML ¶
func (_j *TriggerType) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for TriggerType.
func (TriggerType) Validate ¶
func (_j TriggerType) Validate() error
Validate whether the value is within the range of enum values.
func (TriggerType) Values ¶
func (TriggerType) Values() []string
Values returns a slice of all String values of the enum.
type TriggerWebhookConfig ¶
type TriggerWebhookConfig struct { // Endpoint of the trigger Endpoint string `json:"endpoint,omitempty"` }
type TriggerWorkflowConfig ¶
type TriggerWorkflowConfig struct { // WorkflowID of the trigger WorkflowID string `json:"workflow_id,omitempty"` }
type TriggersList ¶
type TriggersList = []*Trigger
type WakfloAuthStrategy ¶
type WakfloAuthStrategy struct{}
type WorkflowRunMetadata ¶
type WorkflowRunMetadata struct { // ID holds the value of the "id" field. WorkflowID uuid.UUID `json:"workflowId,omitempty"` // Name holds the value of the "name" field. WorkflowName string `json:"workflowName,omitempty"` // StepName holds the value of the "name" field. StepName string `json:"stepName,omitempty"` // ConnectorName holds the value of the "connectorName" field. ConnectorName string `json:"connectorName,omitempty"` // ConnectorVersion holds the value of the "connectorVersion" field. ConnectorVersion string `json:"connectorVersion,omitempty"` // LastRun represents the timestamp of the last run of a workflow. LastRun *time.Time `json:"lastRun"` }
type WorkflowRunStatus ¶ added in v0.2.7
type WorkflowRunStatus string
WorkflowRunStatus represents the status of a workflow run.
const ( WorkflowRunStatusPending WorkflowRunStatus = "PENDING" WorkflowRunStatusQueued WorkflowRunStatus = "QUEUED" WorkflowRunStatusRunning WorkflowRunStatus = "RUNNING" WorkflowRunStatusSucceeded WorkflowRunStatus = "SUCCEEDED" WorkflowRunStatusFailed WorkflowRunStatus = "FAILED" )
Enum values for WorkflowRunStatus.
func WorkflowRunStatusFromString ¶ added in v0.2.7
func WorkflowRunStatusFromString(raw string) (WorkflowRunStatus, bool)
WorkflowRunStatusFromString determines the enum value with an exact case match.
func WorkflowRunStatusFromStringIgnoreCase ¶ added in v0.2.7
func WorkflowRunStatusFromStringIgnoreCase(raw string) (WorkflowRunStatus, bool)
WorkflowRunStatusFromStringIgnoreCase determines the enum value with a case-insensitive match.
func (WorkflowRunStatus) IsValid ¶ added in v0.2.7
func (_j WorkflowRunStatus) IsValid() bool
IsValid tests whether the value is a valid enum value.
func (WorkflowRunStatus) MarshalBinary ¶ added in v0.2.7
func (_j WorkflowRunStatus) MarshalBinary() ([]byte, error)
MarshalBinary implements the encoding.BinaryMarshaler interface for WorkflowRunStatus.
func (WorkflowRunStatus) MarshalGQL ¶ added in v0.2.7
func (_j WorkflowRunStatus) MarshalGQL(w io.Writer)
MarshalGQL implements the graphql.Marshaler interface for WorkflowRunStatus.
func (WorkflowRunStatus) MarshalJSON ¶ added in v0.2.7
func (_j WorkflowRunStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements the json.Marshaler interface for WorkflowRunStatus.
func (WorkflowRunStatus) MarshalText ¶ added in v0.2.7
func (_j WorkflowRunStatus) MarshalText() ([]byte, error)
MarshalText implements the encoding.TextMarshaler interface for WorkflowRunStatus.
func (WorkflowRunStatus) MarshalYAML ¶ added in v0.2.7
func (_j WorkflowRunStatus) MarshalYAML() (interface{}, error)
MarshalYAML implements a YAML Marshaler for WorkflowRunStatus.
func (WorkflowRunStatus) SQLTypeName ¶ added in v0.2.7
func (WorkflowRunStatus) SQLTypeName() string
func (*WorkflowRunStatus) Scan ¶ added in v0.2.7
func (_j *WorkflowRunStatus) Scan(value interface{}) error
Scan implements the sql/driver.Scanner interface for WorkflowRunStatus.
func (WorkflowRunStatus) String ¶ added in v0.2.7
func (_j WorkflowRunStatus) String() string
String returns the string of the enum value. If the enum value is invalid, it will produce a string of the following pattern WorkflowRunStatus(%d) instead.
func (*WorkflowRunStatus) UnmarshalBinary ¶ added in v0.2.7
func (_j *WorkflowRunStatus) UnmarshalBinary(text []byte) error
UnmarshalBinary implements the encoding.BinaryUnmarshaler interface for WorkflowRunStatus.
func (*WorkflowRunStatus) UnmarshalGQL ¶ added in v0.2.7
func (_j *WorkflowRunStatus) UnmarshalGQL(value interface{}) error
UnmarshalGQL implements the graphql.Unmarshaler interface for WorkflowRunStatus.
func (*WorkflowRunStatus) UnmarshalJSON ¶ added in v0.2.7
func (_j *WorkflowRunStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements the json.Unmarshaler interface for WorkflowRunStatus.
func (*WorkflowRunStatus) UnmarshalText ¶ added in v0.2.7
func (_j *WorkflowRunStatus) UnmarshalText(text []byte) error
UnmarshalText implements the encoding.TextUnmarshaler interface for WorkflowRunStatus.
func (*WorkflowRunStatus) UnmarshalYAML ¶ added in v0.2.7
func (_j *WorkflowRunStatus) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML implements a YAML Unmarshaler for WorkflowRunStatus.
func (WorkflowRunStatus) Validate ¶ added in v0.2.7
func (_j WorkflowRunStatus) Validate() error
Validate whether the value is within the range of enum values.
func (WorkflowRunStatus) Values ¶ added in v0.2.7
func (WorkflowRunStatus) Values() []string
Values returns a slice of all String values of the enum.
type WorkflowSettings ¶
type WorkflowTemplate ¶
type WorkflowTemplate struct { Steps map[string]ConnectorStep State []int Edges map[string]StepEdge }
type WorkflowTemplateType ¶
type WorkflowTemplateType = WorkflowTemplate
type WorkflowVersion ¶ added in v0.2.7
type WorkflowVersion struct { ID uuid.UUID `json:"id,omitempty"` // WorkflowID holds the value of the "workflow_id" field. WorkflowID uuid.UUID `json:"workflow_id,omitempty"` // Name holds the value of the "workflow_id" field. Name string `json:"name,omitempty"` // Steps holds the value of the "steps" field. Steps map[string]ConnectorStep `json:"steps,omitempty"` // ProjectID holds the value of the "project_id" field. ProjectID uuid.UUID `json:"project_id,omitempty"` // Version holds the value of the "version" field. Version int `json:"version,omitempty"` // LastRun field stores the timestamp of the last run of a workflow version. LastRun *time.Time `json:"last_run,omitempty"` }
type WorkspacePluginMetadata ¶
type WorkspacePluginMetadata struct { Operations []TaskOperation `json:"properties,omitempty"` Compiler PluginCompiler `json:"compiler"` Language PluginLanguage `json:"language,omitempty"` // Name holds the value of the "name" field. Name string `json:"name,omitempty"` // Description holds the value of the "deleted" field. Description string `json:"description"` // Documentation holds the value of the "documentation" field. Documentation *string `json:"documentation"` // Description holds the value of the "deleted" field. Category string `json:"category"` // Version holds the value of the "version" field. Version string `json:"version"` // Icon holds the value of the "icon" field. Icon string `json:"icon"` }
WorkspacePluginMetadata is a WorkspacePluginMetadata model.
type WriteLogLineOpts ¶ added in v0.2.7
type WriteLogLineOpts struct { // The step run id ProjectID string `json:"project_id" validate:"required,uuid"` // The step run id StepRunID *string `json:"step_run_id" validate:"omitnil,uuid"` // The workflow run id WorkflowID string `json:"workflow_id" validate:"uuid"` // (optional) The time when the log line was created. CreatedAt *time.Time // (required) The message of the log line. Message string `json:"message" validate:"required,min=1,max=10000"` // (optional) The level of the log line. Level *string `json:"level" validate:"omitnil,oneof=INFO ERROR WARN DEBUG"` // (optional) The metadata of the log line. Metadata map[string]any `json:"metadata"` }
Source Files ¶
- auth.go
- auth_type_enum.go
- authstatus.go
- connector_platform_enum.go
- connector_type_enum.go
- connectors.go
- executiontype.go
- field_logic_operators.go
- field_types.go
- file.go
- job_status_enum.go
- language_types.go
- log_line_level.go
- logs.go
- oauth_strategy.go
- options.go
- pausetype.go
- plugin_enums.go
- runmodeenum.go
- schema.go
- state.go
- step_run_status.go
- steps_enum.go
- template.go
- teststatus.go
- triggerhooktype.go
- triggertype.go
- workflow.go
- workflow_run_status.go