Documentation ¶
Index ¶
- Variables
- func ClusterClientSessionFieldsNames() []string
- func ClusterClientTokenFieldsNames() []string
- func ClusterFieldsNames() []string
- func ClusterInformationFieldsNames() []string
- func ClusterServiceFieldsNames() []string
- func ClusterServiceResultFieldsNames() []string
- func ClusterServiceStatusFieldsNames() []string
- func GlobalVariableFieldsNames() []string
- func OriginNames() []string
- func PriorityNames() []string
- func ResultSaveTypeNames() []string
- func StepStatusNames() []string
- func TemplateFieldsNames() []string
- func WebhookConditionValidatorNames() []string
- func WebhookFieldsNames() []string
- type Cluster
- type ClusterClientSession
- type ClusterClientSessionClaim
- type ClusterClientSessionFields
- type ClusterClientToken
- type ClusterClientTokenFields
- type ClusterFields
- type ClusterInformation
- type ClusterInformationFields
- type ClusterService
- type ClusterServiceFields
- type ClusterServiceResult
- type ClusterServiceResultFields
- type ClusterServiceStatus
- type ClusterServiceStatusFields
- type GlobalVariable
- type GlobalVariableFields
- type ModelContext
- type Origin
- type Priority
- type ResultSaveType
- type Scanner
- type ServiceWithStatuses
- type StepStatus
- type Template
- type TemplateFields
- type Webhook
- type WebhookConditionValidator
- type WebhookFields
Constants ¶
This section is empty.
Variables ¶
var ErrInvalidClusterClientSessionFields = fmt.Errorf("not a valid ClusterClientSessionFields, try [%s]", strings.Join(_ClusterClientSessionFieldsNames, ", "))
var ErrInvalidClusterClientTokenFields = fmt.Errorf("not a valid ClusterClientTokenFields, try [%s]", strings.Join(_ClusterClientTokenFieldsNames, ", "))
var ErrInvalidClusterFields = fmt.Errorf("not a valid ClusterFields, try [%s]", strings.Join(_ClusterFieldsNames, ", "))
var ErrInvalidClusterInformationFields = fmt.Errorf("not a valid ClusterInformationFields, try [%s]", strings.Join(_ClusterInformationFieldsNames, ", "))
var ErrInvalidClusterServiceFields = fmt.Errorf("not a valid ClusterServiceFields, try [%s]", strings.Join(_ClusterServiceFieldsNames, ", "))
var ErrInvalidClusterServiceResultFields = fmt.Errorf("not a valid ClusterServiceResultFields, try [%s]", strings.Join(_ClusterServiceResultFieldsNames, ", "))
var ErrInvalidClusterServiceStatusFields = fmt.Errorf("not a valid ClusterServiceStatusFields, try [%s]", strings.Join(_ClusterServiceStatusFieldsNames, ", "))
var ErrInvalidGlobalVariableFields = fmt.Errorf("not a valid GlobalVariableFields, try [%s]", strings.Join(_GlobalVariableFieldsNames, ", "))
var ErrInvalidOrigin = fmt.Errorf("not a valid Origin, try [%s]", strings.Join(_OriginNames, ", "))
var ErrInvalidPriority = fmt.Errorf("not a valid Priority, try [%s]", strings.Join(_PriorityNames, ", "))
var ErrInvalidResultSaveType = fmt.Errorf("not a valid ResultSaveType, try [%s]", strings.Join(_ResultSaveTypeNames, ", "))
var ErrInvalidStepStatus = fmt.Errorf("not a valid StepStatus, try [%s]", strings.Join(_StepStatusNames, ", "))
var ErrInvalidTemplateFields = fmt.Errorf("not a valid TemplateFields, try [%s]", strings.Join(_TemplateFieldsNames, ", "))
var ErrInvalidWebhookConditionValidator = fmt.Errorf("not a valid WebhookConditionValidator, try [%s]", strings.Join(_WebhookConditionValidatorNames, ", "))
var ErrInvalidWebhookFields = fmt.Errorf("not a valid WebhookFields, try [%s]", strings.Join(_WebhookFieldsNames, ", "))
Functions ¶
func ClusterClientSessionFieldsNames ¶
func ClusterClientSessionFieldsNames() []string
ClusterClientSessionFieldsNames returns a list of possible string values of ClusterClientSessionFields.
func ClusterClientTokenFieldsNames ¶
func ClusterClientTokenFieldsNames() []string
ClusterClientTokenFieldsNames returns a list of possible string values of ClusterClientTokenFields.
func ClusterFieldsNames ¶
func ClusterFieldsNames() []string
ClusterFieldsNames returns a list of possible string values of ClusterFields.
func ClusterInformationFieldsNames ¶
func ClusterInformationFieldsNames() []string
ClusterInformationFieldsNames returns a list of possible string values of ClusterInformationFields.
func ClusterServiceFieldsNames ¶
func ClusterServiceFieldsNames() []string
ClusterServiceFieldsNames returns a list of possible string values of ClusterServiceFields.
func ClusterServiceResultFieldsNames ¶
func ClusterServiceResultFieldsNames() []string
ClusterServiceResultFieldsNames returns a list of possible string values of ClusterServiceResultFields.
func ClusterServiceStatusFieldsNames ¶
func ClusterServiceStatusFieldsNames() []string
ClusterServiceStatusFieldsNames returns a list of possible string values of ClusterServiceStatusFields.
func GlobalVariableFieldsNames ¶
func GlobalVariableFieldsNames() []string
GlobalVariableFieldsNames returns a list of possible string values of GlobalVariableFields.
func OriginNames ¶
func OriginNames() []string
OriginNames returns a list of possible string values of Origin.
func PriorityNames ¶
func PriorityNames() []string
PriorityNames returns a list of possible string values of Priority.
func ResultSaveTypeNames ¶
func ResultSaveTypeNames() []string
ResultSaveTypeNames returns a list of possible string values of ResultSaveType.
func StepStatusNames ¶
func StepStatusNames() []string
StepStatusNames returns a list of possible string values of StepStatus.
func TemplateFieldsNames ¶
func TemplateFieldsNames() []string
TemplateFieldsNames returns a list of possible string values of TemplateFields.
func WebhookConditionValidatorNames ¶
func WebhookConditionValidatorNames() []string
WebhookConditionValidatorNames returns a list of possible string values of WebhookConditionValidator.
func WebhookFieldsNames ¶
func WebhookFieldsNames() []string
WebhookFieldsNames returns a list of possible string values of WebhookFields.
Types ¶
type Cluster ¶
type Cluster struct { ID int64 `column:"id"` // pk UUID string `column:"uuid"` // uuid Name string `column:"name"` Summary sql.NullString `column:"summary"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (Cluster) ColumnNames ¶
func (Cluster) ColumnValues ¶
type ClusterClientSession ¶
type ClusterClientSession struct { ID int64 `column:"id"` // pk UUID string `column:"uuid"` // uuid ClusterUUID string `column:"cluster_uuid"` ClusterClientTokenUUID string `column:"cluster_client_token_uuid"` Token string `column:"token"` IssuedAtTime time.Time `column:"issued_at_time"` ExpirationTime time.Time `column:"expiration_time"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (ClusterClientSession) ColumnNames ¶
func (ClusterClientSession) ColumnNames() []string
func (ClusterClientSession) ColumnValues ¶
func (r ClusterClientSession) ColumnValues() []any
func (*ClusterClientSession) Scan ¶
func (r *ClusterClientSession) Scan(s Scanner) error
func (ClusterClientSession) TableName ¶
func (ClusterClientSession) TableName() string
type ClusterClientSessionClaim ¶
type ClusterClientSessionClaim struct { ClusterUUID string `json:"cluster-uuid,omitempty"` ClusterClientTokenUUID string `json:"cluster-client-token-uuid,omitempty"` UUID string `json:"uuid,omitempty"` IssuedAt int64 `json:"iat,omitempty"` ExpiresAt int64 `json:"exp,omitempty"` ClientVersion string `json:"client-version,omitempty"` ClientLibVersion string `json:"client_lib_version"` }
func NewClusterClientSessionClaim ¶
func NewClusterClientSessionClaim(clusterUUID, clientTokenUUID, clientSessionUUID string, iat, exp time.Time, clientVersion, clientLibVersion string) *ClusterClientSessionClaim
func (ClusterClientSessionClaim) Valid ¶
func (claim ClusterClientSessionClaim) Valid() error
func (ClusterClientSessionClaim) VerifyExpiresAt ¶
func (claim ClusterClientSessionClaim) VerifyExpiresAt(cmp int64, req bool) bool
func (ClusterClientSessionClaim) VerifyIssuedAt ¶
func (claim ClusterClientSessionClaim) VerifyIssuedAt(cmp int64, req bool) bool
type ClusterClientSessionFields ¶
type ClusterClientSessionFields int
ENUM( id uuid cluster_client_token_uuid cluster_uuid token issued_at_time expiration_time created updated )
const ( // ClusterClientSessionFieldsId is a ClusterClientSessionFields of type Id. ClusterClientSessionFieldsId ClusterClientSessionFields = iota // ClusterClientSessionFieldsUuid is a ClusterClientSessionFields of type Uuid. ClusterClientSessionFieldsUuid // ClusterClientSessionFieldsClusterClientTokenUuid is a ClusterClientSessionFields of type Cluster_client_token_uuid. ClusterClientSessionFieldsClusterClientTokenUuid // ClusterClientSessionFieldsClusterUuid is a ClusterClientSessionFields of type Cluster_uuid. ClusterClientSessionFieldsClusterUuid // ClusterClientSessionFieldsToken is a ClusterClientSessionFields of type Token. ClusterClientSessionFieldsToken // ClusterClientSessionFieldsIssuedAtTime is a ClusterClientSessionFields of type Issued_at_time. ClusterClientSessionFieldsIssuedAtTime // ClusterClientSessionFieldsExpirationTime is a ClusterClientSessionFields of type Expiration_time. ClusterClientSessionFieldsExpirationTime // ClusterClientSessionFieldsCreated is a ClusterClientSessionFields of type Created. ClusterClientSessionFieldsCreated // ClusterClientSessionFieldsUpdated is a ClusterClientSessionFields of type Updated. ClusterClientSessionFieldsUpdated )
func ParseClusterClientSessionFields ¶
func ParseClusterClientSessionFields(name string) (ClusterClientSessionFields, error)
ParseClusterClientSessionFields attempts to convert a string to a ClusterClientSessionFields.
func (ClusterClientSessionFields) IsValid ¶
func (x ClusterClientSessionFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterClientSessionFields) String ¶
func (x ClusterClientSessionFields) String() string
String implements the Stringer interface.
type ClusterClientToken ¶
type ClusterClientToken struct { ID int64 `column:"id"` // pk UUID string `column:"uuid"` // uuid Name string `column:"name"` Summary sql.NullString `column:"summary"` ClusterUUID string `column:"cluster_uuid"` Token string `column:"token"` IssuedAtTime time.Time `column:"issued_at_time"` ExpirationTime time.Time `column:"expiration_time"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (ClusterClientToken) ColumnNames ¶
func (ClusterClientToken) ColumnNames() []string
func (ClusterClientToken) ColumnValues ¶
func (r ClusterClientToken) ColumnValues() []any
func (*ClusterClientToken) Scan ¶
func (r *ClusterClientToken) Scan(s Scanner) error
func (ClusterClientToken) TableName ¶
func (ClusterClientToken) TableName() string
type ClusterClientTokenFields ¶
type ClusterClientTokenFields int
ENUM( id uuid name summary cluster_uuid token issued_at_time expiration_time created updated )
const ( // ClusterClientTokenFieldsId is a ClusterClientTokenFields of type Id. ClusterClientTokenFieldsId ClusterClientTokenFields = iota // ClusterClientTokenFieldsUuid is a ClusterClientTokenFields of type Uuid. ClusterClientTokenFieldsUuid // ClusterClientTokenFieldsName is a ClusterClientTokenFields of type Name. ClusterClientTokenFieldsName // ClusterClientTokenFieldsSummary is a ClusterClientTokenFields of type Summary. ClusterClientTokenFieldsSummary // ClusterClientTokenFieldsClusterUuid is a ClusterClientTokenFields of type Cluster_uuid. ClusterClientTokenFieldsClusterUuid // ClusterClientTokenFieldsToken is a ClusterClientTokenFields of type Token. ClusterClientTokenFieldsToken // ClusterClientTokenFieldsIssuedAtTime is a ClusterClientTokenFields of type Issued_at_time. ClusterClientTokenFieldsIssuedAtTime // ClusterClientTokenFieldsExpirationTime is a ClusterClientTokenFields of type Expiration_time. ClusterClientTokenFieldsExpirationTime // ClusterClientTokenFieldsCreated is a ClusterClientTokenFields of type Created. ClusterClientTokenFieldsCreated // ClusterClientTokenFieldsUpdated is a ClusterClientTokenFields of type Updated. ClusterClientTokenFieldsUpdated )
func ParseClusterClientTokenFields ¶
func ParseClusterClientTokenFields(name string) (ClusterClientTokenFields, error)
ParseClusterClientTokenFields attempts to convert a string to a ClusterClientTokenFields.
func (ClusterClientTokenFields) IsValid ¶
func (x ClusterClientTokenFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterClientTokenFields) String ¶
func (x ClusterClientTokenFields) String() string
String implements the Stringer interface.
type ClusterFields ¶
type ClusterFields int
ENUM( id uuid name summary created updated )
const ( // ClusterFieldsId is a ClusterFields of type Id. ClusterFieldsId ClusterFields = iota // ClusterFieldsUuid is a ClusterFields of type Uuid. ClusterFieldsUuid // ClusterFieldsName is a ClusterFields of type Name. ClusterFieldsName // ClusterFieldsSummary is a ClusterFields of type Summary. ClusterFieldsSummary // ClusterFieldsCreated is a ClusterFields of type Created. ClusterFieldsCreated // ClusterFieldsUpdated is a ClusterFields of type Updated. ClusterFieldsUpdated )
func ParseClusterFields ¶
func ParseClusterFields(name string) (ClusterFields, error)
ParseClusterFields attempts to convert a string to a ClusterFields.
func (ClusterFields) IsValid ¶
func (x ClusterFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterFields) String ¶
func (x ClusterFields) String() string
String implements the Stringer interface.
type ClusterInformation ¶
type ClusterInformation struct { ID uint `column:"id"` ClusterUUID string `column:"cluster_uuid"` // PollingCount int `column:"polling_count"` PollingOffset time.Time `column:"polling_offset"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (ClusterInformation) ColumnNames ¶
func (ClusterInformation) ColumnNames() []string
func (ClusterInformation) ColumnValues ¶
func (r ClusterInformation) ColumnValues() []any
func (*ClusterInformation) Scan ¶
func (r *ClusterInformation) Scan(s Scanner) error
func (ClusterInformation) TableName ¶
func (ClusterInformation) TableName() string
type ClusterInformationFields ¶
type ClusterInformationFields int
ENUM( id cluster_uuid polling_offset created updated )
const ( // ClusterInformationFieldsId is a ClusterInformationFields of type Id. ClusterInformationFieldsId ClusterInformationFields = iota // ClusterInformationFieldsClusterUuid is a ClusterInformationFields of type Cluster_uuid. ClusterInformationFieldsClusterUuid // ClusterInformationFieldsPollingOffset is a ClusterInformationFields of type Polling_offset. ClusterInformationFieldsPollingOffset // ClusterInformationFieldsCreated is a ClusterInformationFields of type Created. ClusterInformationFieldsCreated // ClusterInformationFieldsUpdated is a ClusterInformationFields of type Updated. ClusterInformationFieldsUpdated )
func ParseClusterInformationFields ¶
func ParseClusterInformationFields(name string) (ClusterInformationFields, error)
ParseClusterInformationFields attempts to convert a string to a ClusterInformationFields.
func (ClusterInformationFields) IsValid ¶
func (x ClusterInformationFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterInformationFields) String ¶
func (x ClusterInformationFields) String() string
String implements the Stringer interface.
type ClusterService ¶
type ClusterService struct { PartitionDate time.Time `column:"pdate"` // PK date ClusterUUID string `column:"cluster_uuid"` // PK char(32) cluster.uuid UUID string `column:"uuid"` // PK char(32) service.uuid Name string `column:"name"` Summary sql.NullString `column:"summary"` TemplateUUID string `column:"template_uuid"` Flow string `column:"flow"` Inputs cryptography.CipherObject `column:"inputs"` StepMax int `column:"step_max"` SubscribedChannel sql.NullString `column:"subscribed_channel"` Priority Priority `column:"priority"` Created time.Time `column:"created"` }
func (ClusterService) ColumnNames ¶
func (ClusterService) ColumnNames() []string
func (ClusterService) ColumnValues ¶
func (r ClusterService) ColumnValues() []any
func (*ClusterService) Scan ¶
func (r *ClusterService) Scan(s Scanner) error
func (ClusterService) TableName ¶
func (ClusterService) TableName() string
type ClusterServiceFields ¶
type ClusterServiceFields int
ENUM( pdate cluster_uuid uuid name summary template_uuid flow inputs step_max subscribed_channel priority created )
const ( // ClusterServiceFieldsPdate is a ClusterServiceFields of type Pdate. ClusterServiceFieldsPdate ClusterServiceFields = iota // ClusterServiceFieldsClusterUuid is a ClusterServiceFields of type Cluster_uuid. ClusterServiceFieldsClusterUuid // ClusterServiceFieldsUuid is a ClusterServiceFields of type Uuid. ClusterServiceFieldsUuid // ClusterServiceFieldsName is a ClusterServiceFields of type Name. ClusterServiceFieldsName // ClusterServiceFieldsSummary is a ClusterServiceFields of type Summary. ClusterServiceFieldsSummary // ClusterServiceFieldsTemplateUuid is a ClusterServiceFields of type Template_uuid. ClusterServiceFieldsTemplateUuid // ClusterServiceFieldsFlow is a ClusterServiceFields of type Flow. ClusterServiceFieldsFlow // ClusterServiceFieldsInputs is a ClusterServiceFields of type Inputs. ClusterServiceFieldsInputs // ClusterServiceFieldsStepMax is a ClusterServiceFields of type Step_max. ClusterServiceFieldsStepMax // ClusterServiceFieldsSubscribedChannel is a ClusterServiceFields of type Subscribed_channel. ClusterServiceFieldsSubscribedChannel // ClusterServiceFieldsPriority is a ClusterServiceFields of type Priority. ClusterServiceFieldsPriority // ClusterServiceFieldsCreated is a ClusterServiceFields of type Created. ClusterServiceFieldsCreated )
func ParseClusterServiceFields ¶
func ParseClusterServiceFields(name string) (ClusterServiceFields, error)
ParseClusterServiceFields attempts to convert a string to a ClusterServiceFields.
func (ClusterServiceFields) IsValid ¶
func (x ClusterServiceFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterServiceFields) String ¶
func (x ClusterServiceFields) String() string
String implements the Stringer interface.
type ClusterServiceResult ¶
type ClusterServiceResult struct { PartitionDate time.Time `column:"pdate"` // pk date ClusterUUID string `column:"cluster_uuid"` // pk char(32) cluster.uuid UUID string `column:"uuid"` // pk char(32) service.uuid ResultSaveType ResultSaveType `column:"result_type"` Result cryptography.CipherString `column:"result"` Created time.Time `column:"created"` }
func (ClusterServiceResult) ColumnNames ¶
func (ClusterServiceResult) ColumnNames() []string
func (ClusterServiceResult) ColumnValues ¶
func (r ClusterServiceResult) ColumnValues() []any
func (*ClusterServiceResult) Scan ¶
func (r *ClusterServiceResult) Scan(s Scanner) error
func (ClusterServiceResult) TableName ¶
func (ClusterServiceResult) TableName() string
type ClusterServiceResultFields ¶
type ClusterServiceResultFields int
ENUM( pdate cluster_uuid uuid result_type result created )
const ( // ClusterServiceResultFieldsPdate is a ClusterServiceResultFields of type Pdate. ClusterServiceResultFieldsPdate ClusterServiceResultFields = iota // ClusterServiceResultFieldsClusterUuid is a ClusterServiceResultFields of type Cluster_uuid. ClusterServiceResultFieldsClusterUuid // ClusterServiceResultFieldsUuid is a ClusterServiceResultFields of type Uuid. ClusterServiceResultFieldsUuid // ClusterServiceResultFieldsResultType is a ClusterServiceResultFields of type Result_type. ClusterServiceResultFieldsResultType // ClusterServiceResultFieldsResult is a ClusterServiceResultFields of type Result. ClusterServiceResultFieldsResult // ClusterServiceResultFieldsCreated is a ClusterServiceResultFields of type Created. ClusterServiceResultFieldsCreated )
func ParseClusterServiceResultFields ¶
func ParseClusterServiceResultFields(name string) (ClusterServiceResultFields, error)
ParseClusterServiceResultFields attempts to convert a string to a ClusterServiceResultFields.
func (ClusterServiceResultFields) IsValid ¶
func (x ClusterServiceResultFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterServiceResultFields) String ¶
func (x ClusterServiceResultFields) String() string
String implements the Stringer interface.
type ClusterServiceStatus ¶
type ClusterServiceStatus struct { PartitionDate time.Time `column:"pdate"` // PK date ClusterUUID string `column:"cluster_uuid"` // PK char(32) cluster.uuid Uuid string `column:"uuid"` // PK char(32) service.uuid Created time.Time `column:"created"` // PK datetime(6) StepMax int `column:"step_max"` StepSeq int `column:"step_seq"` Status StepStatus `column:"status"` Started sql.NullTime `column:"started"` Ended sql.NullTime `column:"ended"` Message sql.NullString `column:"message"` }
func (ClusterServiceStatus) ColumnNames ¶
func (ClusterServiceStatus) ColumnNames() []string
func (ClusterServiceStatus) ColumnValues ¶
func (r ClusterServiceStatus) ColumnValues() []any
func (*ClusterServiceStatus) Scan ¶
func (r *ClusterServiceStatus) Scan(s Scanner) error
func (ClusterServiceStatus) TableName ¶
func (ClusterServiceStatus) TableName() string
type ClusterServiceStatusFields ¶
type ClusterServiceStatusFields int
ENUM( pdate cluster_uuid uuid created step_max step_seq status started ended message )
const ( // ClusterServiceStatusFieldsPdate is a ClusterServiceStatusFields of type Pdate. ClusterServiceStatusFieldsPdate ClusterServiceStatusFields = iota // ClusterServiceStatusFieldsClusterUuid is a ClusterServiceStatusFields of type Cluster_uuid. ClusterServiceStatusFieldsClusterUuid // ClusterServiceStatusFieldsUuid is a ClusterServiceStatusFields of type Uuid. ClusterServiceStatusFieldsUuid // ClusterServiceStatusFieldsCreated is a ClusterServiceStatusFields of type Created. ClusterServiceStatusFieldsCreated // ClusterServiceStatusFieldsStepMax is a ClusterServiceStatusFields of type Step_max. ClusterServiceStatusFieldsStepMax // ClusterServiceStatusFieldsStepSeq is a ClusterServiceStatusFields of type Step_seq. ClusterServiceStatusFieldsStepSeq // ClusterServiceStatusFieldsStatus is a ClusterServiceStatusFields of type Status. ClusterServiceStatusFieldsStatus // ClusterServiceStatusFieldsStarted is a ClusterServiceStatusFields of type Started. ClusterServiceStatusFieldsStarted // ClusterServiceStatusFieldsEnded is a ClusterServiceStatusFields of type Ended. ClusterServiceStatusFieldsEnded // ClusterServiceStatusFieldsMessage is a ClusterServiceStatusFields of type Message. ClusterServiceStatusFieldsMessage )
func ParseClusterServiceStatusFields ¶
func ParseClusterServiceStatusFields(name string) (ClusterServiceStatusFields, error)
ParseClusterServiceStatusFields attempts to convert a string to a ClusterServiceStatusFields.
func (ClusterServiceStatusFields) IsValid ¶
func (x ClusterServiceStatusFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ClusterServiceStatusFields) String ¶
func (x ClusterServiceStatusFields) String() string
String implements the Stringer interface.
type GlobalVariable ¶
type GlobalVariable struct { ID int64 `column:"id"` // pk UUID string `column:"uuid"` // uuid Name string `column:"name"` Summary sql.NullString `column:"summary"` Value string `column:"value"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (GlobalVariable) ColumnNames ¶
func (GlobalVariable) ColumnNames() []string
func (GlobalVariable) ColumnValues ¶
func (r GlobalVariable) ColumnValues() []any
func (*GlobalVariable) Scan ¶
func (r *GlobalVariable) Scan(s Scanner) error
func (GlobalVariable) TableName ¶
func (GlobalVariable) TableName() string
type GlobalVariableFields ¶
type GlobalVariableFields int
ENUM( id uuid name summary value created updated )
const ( // GlobalVariableFieldsId is a GlobalVariableFields of type Id. GlobalVariableFieldsId GlobalVariableFields = iota // GlobalVariableFieldsUuid is a GlobalVariableFields of type Uuid. GlobalVariableFieldsUuid // GlobalVariableFieldsName is a GlobalVariableFields of type Name. GlobalVariableFieldsName // GlobalVariableFieldsSummary is a GlobalVariableFields of type Summary. GlobalVariableFieldsSummary // GlobalVariableFieldsValue is a GlobalVariableFields of type Value. GlobalVariableFieldsValue // GlobalVariableFieldsCreated is a GlobalVariableFields of type Created. GlobalVariableFieldsCreated // GlobalVariableFieldsUpdated is a GlobalVariableFields of type Updated. GlobalVariableFieldsUpdated )
func ParseGlobalVariableFields ¶
func ParseGlobalVariableFields(name string) (GlobalVariableFields, error)
ParseGlobalVariableFields attempts to convert a string to a GlobalVariableFields.
func (GlobalVariableFields) IsValid ¶
func (x GlobalVariableFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (GlobalVariableFields) String ¶
func (x GlobalVariableFields) String() string
String implements the Stringer interface.
type ModelContext ¶
type Origin ¶
type Origin int
ENUM( none predefined system )
func ParseOrigin ¶
ParseOrigin attempts to convert a string to a Origin.
type Priority ¶
type Priority int
ENUM( low middle high )
func ParsePriority ¶
ParsePriority attempts to convert a string to a Priority.
type ResultSaveType ¶
type ResultSaveType int
ENUM( none database )
const ( // ResultSaveTypeNone is a ResultSaveType of type None. ResultSaveTypeNone ResultSaveType = iota // ResultSaveTypeDatabase is a ResultSaveType of type Database. ResultSaveTypeDatabase )
func ParseResultSaveType ¶
func ParseResultSaveType(name string) (ResultSaveType, error)
ParseResultSaveType attempts to convert a string to a ResultSaveType.
func (ResultSaveType) IsValid ¶
func (x ResultSaveType) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (ResultSaveType) String ¶
func (x ResultSaveType) String() string
String implements the Stringer interface.
type ServiceWithStatuses ¶
type ServiceWithStatuses struct { ClusterService ClusterServiceStatuses []ClusterServiceStatus }
type StepStatus ¶
type StepStatus int
ENUM( regist = 0 sent = 1 processing = 2 succeeded = 4 failed = 8 )
const ( // StepStatusRegist is a StepStatus of type Regist. StepStatusRegist StepStatus = iota // StepStatusSent is a StepStatus of type Sent. StepStatusSent // StepStatusProcessing is a StepStatus of type Processing. StepStatusProcessing // StepStatusSucceeded is a StepStatus of type Succeeded. StepStatusSucceeded StepStatus = iota + 1 // StepStatusFailed is a StepStatus of type Failed. StepStatusFailed StepStatus = iota + 4 )
func ParseStepStatus ¶
func ParseStepStatus(name string) (StepStatus, error)
ParseStepStatus attempts to convert a string to a StepStatus.
func (StepStatus) IsValid ¶
func (x StepStatus) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (StepStatus) String ¶
func (x StepStatus) String() string
String implements the Stringer interface.
type Template ¶
type Template struct { UUID string `column:"uuid"` Name string `column:"name"` Summary sql.NullString `column:"summary"` Flow string `column:"flow"` Inputs string `column:"inputs"` Origin string `column:"origin"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (Template) ColumnNames ¶
func (Template) ColumnValues ¶
type TemplateFields ¶
type TemplateFields int
ENUM( uuid name summary flow inputs origin created updated )
const ( // TemplateFieldsUuid is a TemplateFields of type Uuid. TemplateFieldsUuid TemplateFields = iota // TemplateFieldsName is a TemplateFields of type Name. TemplateFieldsName // TemplateFieldsSummary is a TemplateFields of type Summary. TemplateFieldsSummary // TemplateFieldsFlow is a TemplateFields of type Flow. TemplateFieldsFlow // TemplateFieldsInputs is a TemplateFields of type Inputs. TemplateFieldsInputs // TemplateFieldsOrigin is a TemplateFields of type Origin. TemplateFieldsOrigin // TemplateFieldsCreated is a TemplateFields of type Created. TemplateFieldsCreated // TemplateFieldsUpdated is a TemplateFields of type Updated. TemplateFieldsUpdated )
func ParseTemplateFields ¶
func ParseTemplateFields(name string) (TemplateFields, error)
ParseTemplateFields attempts to convert a string to a TemplateFields.
func (TemplateFields) IsValid ¶
func (x TemplateFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (TemplateFields) String ¶
func (x TemplateFields) String() string
String implements the Stringer interface.
type Webhook ¶
type Webhook struct { ID int64 `column:"id"` // pk UUID string `column:"uuid"` // uuid Name string `column:"name"` Summary sql.NullString `column:"summary"` URL string `column:"url"` Method string `column:"method"` Headers cryptography.CipherHeader `column:"headers"` Timeout sql.NullInt32 `column:"timeout"` ConditionValidator sql.NullInt32 `column:"condition_validator"` ConditionFilter sql.NullString `column:"condition_filter"` Created time.Time `column:"created"` Updated time.Time `column:"updated"` }
func (Webhook) ColumnNames ¶
func (Webhook) ColumnValues ¶
type WebhookConditionValidator ¶
type WebhookConditionValidator int32
ENUM( none jq )
const ( // WebhookConditionValidatorNone is a WebhookConditionValidator of type None. WebhookConditionValidatorNone WebhookConditionValidator = iota // WebhookConditionValidatorJq is a WebhookConditionValidator of type Jq. WebhookConditionValidatorJq )
func ParseWebhookConditionValidator ¶
func ParseWebhookConditionValidator(name string) (WebhookConditionValidator, error)
ParseWebhookConditionValidator attempts to convert a string to a WebhookConditionValidator.
func (WebhookConditionValidator) IsValid ¶
func (x WebhookConditionValidator) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (WebhookConditionValidator) String ¶
func (x WebhookConditionValidator) String() string
String implements the Stringer interface.
type WebhookFields ¶
type WebhookFields int
ENUM( id uuid name summary url method headers timeout condition_validator condition_filter created updated )
const ( // WebhookFieldsId is a WebhookFields of type Id. WebhookFieldsId WebhookFields = iota // WebhookFieldsUuid is a WebhookFields of type Uuid. WebhookFieldsUuid // WebhookFieldsName is a WebhookFields of type Name. WebhookFieldsName // WebhookFieldsSummary is a WebhookFields of type Summary. WebhookFieldsSummary // WebhookFieldsUrl is a WebhookFields of type Url. WebhookFieldsUrl // WebhookFieldsMethod is a WebhookFields of type Method. WebhookFieldsMethod // WebhookFieldsHeaders is a WebhookFields of type Headers. WebhookFieldsHeaders // WebhookFieldsTimeout is a WebhookFields of type Timeout. WebhookFieldsTimeout // WebhookFieldsConditionValidator is a WebhookFields of type Condition_validator. WebhookFieldsConditionValidator // WebhookFieldsConditionFilter is a WebhookFields of type Condition_filter. WebhookFieldsConditionFilter // WebhookFieldsCreated is a WebhookFields of type Created. WebhookFieldsCreated // WebhookFieldsUpdated is a WebhookFields of type Updated. WebhookFieldsUpdated )
func ParseWebhookFields ¶
func ParseWebhookFields(name string) (WebhookFields, error)
ParseWebhookFields attempts to convert a string to a WebhookFields.
func (WebhookFields) IsValid ¶
func (x WebhookFields) IsValid() bool
IsValid provides a quick way to determine if the typed value is part of the allowed enumerated values
func (WebhookFields) String ¶
func (x WebhookFields) String() string
String implements the Stringer interface.
Source Files ¶
- cluster.go
- cluster_client_session.go
- cluster_client_session_claim.go
- cluster_client_session_enum.go
- cluster_client_token.go
- cluster_client_token_enum.go
- cluster_enum.go
- cluster_information.go
- cluster_information_enum.go
- global_variable.go
- global_variable_enum.go
- models.go
- service.go
- service_enum.go
- service_result.go
- service_result_enum.go
- service_status.go
- service_status_enum.go
- template.go
- template_enum.go
- webhook.go
- webhook_enum.go