Documentation
¶
Index ¶
- type FileVariable
- func (tv *FileVariable) ApplyMessage(msg []byte) (bool, error)
- func (tv *FileVariable) GetValue() []byte
- func (tv *FileVariable) Info() Info
- func (tv *FileVariable) NodeReference() nodes.Node
- func (tv *FileVariable) SetValue(v []byte)
- func (tv *FileVariable) SwaggerProperty() swagger.Property
- func (tv FileVariable) ToMessage() []byte
- func (tv *FileVariable) Version() int
- type ImageVariable
- func (tv *ImageVariable) ApplyMessage(msg []byte) (bool, error)
- func (tv *ImageVariable) GetValue() image.Image
- func (tv *ImageVariable) Info() Info
- func (tv *ImageVariable) NodeReference() nodes.Node
- func (tv *ImageVariable) SetValue(v image.Image)
- func (tv *ImageVariable) SwaggerProperty() swagger.Property
- func (tv ImageVariable) ToMessage() []byte
- func (tv *ImageVariable) Version() int
- type Info
- type Profile
- type Reference
- type System
- type TypeVariable
- func (tv *TypeVariable[T]) ApplyMessage(msg []byte) (bool, error)
- func (tv *TypeVariable[T]) GetValue() T
- func (tv *TypeVariable[T]) Info() Info
- func (tv TypeVariable[T]) MarshalJSON() ([]byte, error)
- func (tv *TypeVariable[T]) NodeReference() nodes.Node
- func (tv *TypeVariable[T]) SetValue(v T)
- func (tv *TypeVariable[T]) SwaggerProperty() swagger.Property
- func (tv TypeVariable[T]) ToMessage() []byte
- func (tv *TypeVariable[T]) Version() int
- type Variable
- type VariableReferenceNode
- func (tv *VariableReferenceNode[T]) Description() string
- func (vrn *VariableReferenceNode[T]) Inputs() map[string]nodes.InputPort
- func (tv *VariableReferenceNode[T]) Name() string
- func (vrn *VariableReferenceNode[T]) Outputs() map[string]nodes.OutputPort
- func (vrn *VariableReferenceNode[T]) Reference() Variable
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileVariable ¶ added in v0.29.0
type FileVariable struct {
// contains filtered or unexported fields
}
func (*FileVariable) ApplyMessage ¶ added in v0.29.0
func (tv *FileVariable) ApplyMessage(msg []byte) (bool, error)
func (*FileVariable) GetValue ¶ added in v0.29.0
func (tv *FileVariable) GetValue() []byte
func (*FileVariable) Info ¶ added in v0.29.0
func (tv *FileVariable) Info() Info
func (*FileVariable) NodeReference ¶ added in v0.29.0
func (tv *FileVariable) NodeReference() nodes.Node
func (*FileVariable) SetValue ¶ added in v0.29.0
func (tv *FileVariable) SetValue(v []byte)
func (*FileVariable) SwaggerProperty ¶ added in v0.32.0
func (tv *FileVariable) SwaggerProperty() swagger.Property
func (FileVariable) ToMessage ¶ added in v0.29.0
func (tv FileVariable) ToMessage() []byte
func (*FileVariable) Version ¶ added in v0.29.0
func (tv *FileVariable) Version() int
type ImageVariable ¶ added in v0.29.0
type ImageVariable struct {
// contains filtered or unexported fields
}
func (*ImageVariable) ApplyMessage ¶ added in v0.29.0
func (tv *ImageVariable) ApplyMessage(msg []byte) (bool, error)
func (*ImageVariable) GetValue ¶ added in v0.29.0
func (tv *ImageVariable) GetValue() image.Image
func (*ImageVariable) Info ¶ added in v0.29.0
func (tv *ImageVariable) Info() Info
func (*ImageVariable) NodeReference ¶ added in v0.29.0
func (tv *ImageVariable) NodeReference() nodes.Node
func (*ImageVariable) SetValue ¶ added in v0.29.0
func (tv *ImageVariable) SetValue(v image.Image)
func (*ImageVariable) SwaggerProperty ¶ added in v0.32.0
func (tv *ImageVariable) SwaggerProperty() swagger.Property
func (ImageVariable) ToMessage ¶ added in v0.29.0
func (tv ImageVariable) ToMessage() []byte
func (*ImageVariable) Version ¶ added in v0.29.0
func (tv *ImageVariable) Version() int
type Profile ¶ added in v0.31.0
type Profile map[string]json.RawMessage
type System ¶
type System interface {
Variables() []Info
Add(path string, variable Variable) error
Variable(path string) (Variable, error)
Info(path string) (Info, error)
Exists(path string) bool
Remove(path string) error
Move(oldName, newName string) error
Traverse(func(path string, info Info, v Variable))
PersistedSchema(encoder *jbtf.Encoder) (schema.NestedGroup[schema.PersistedVariable], error)
RuntimeSchema() (schema.NestedGroup[schema.RuntimeVariable], error)
ApplyProfile(profile Profile) error
GetProfile() Profile
SwaggerDefinition() swagger.Definition
}
System Kinda copies/inspired by file systems
type TypeVariable ¶
type TypeVariable[T any] struct { // contains filtered or unexported fields }
func (*TypeVariable[T]) ApplyMessage ¶
func (tv *TypeVariable[T]) ApplyMessage(msg []byte) (bool, error)
func (*TypeVariable[T]) GetValue ¶
func (tv *TypeVariable[T]) GetValue() T
func (*TypeVariable[T]) Info ¶
func (tv *TypeVariable[T]) Info() Info
func (TypeVariable[T]) MarshalJSON ¶
func (tv TypeVariable[T]) MarshalJSON() ([]byte, error)
func (*TypeVariable[T]) NodeReference ¶
func (tv *TypeVariable[T]) NodeReference() nodes.Node
func (*TypeVariable[T]) SetValue ¶
func (tv *TypeVariable[T]) SetValue(v T)
func (*TypeVariable[T]) SwaggerProperty ¶ added in v0.32.0
func (tv *TypeVariable[T]) SwaggerProperty() swagger.Property
func (TypeVariable[T]) ToMessage ¶
func (tv TypeVariable[T]) ToMessage() []byte
func (*TypeVariable[T]) Version ¶
func (tv *TypeVariable[T]) Version() int
type Variable ¶
type VariableReferenceNode ¶
type VariableReferenceNode[T any] struct { // contains filtered or unexported fields }
func (*VariableReferenceNode[T]) Description ¶
func (tv *VariableReferenceNode[T]) Description() string
func (*VariableReferenceNode[T]) Inputs ¶
func (vrn *VariableReferenceNode[T]) Inputs() map[string]nodes.InputPort
func (*VariableReferenceNode[T]) Name ¶
func (tv *VariableReferenceNode[T]) Name() string
func (*VariableReferenceNode[T]) Outputs ¶
func (vrn *VariableReferenceNode[T]) Outputs() map[string]nodes.OutputPort
func (*VariableReferenceNode[T]) Reference ¶
func (vrn *VariableReferenceNode[T]) Reference() Variable
Click to show internal directories.
Click to hide internal directories.