Documentation ¶
Index ¶
- Variables
- type SpecSchema
- type Transformer
- func (s Transformer) Copy(spec SpecSchema) error
- func (t Transformer) CreditsConsumed() int
- func (t Transformer) Deadline() time.Duration
- func (t Transformer) Execute(ctx context.Context, base map[string]interface{}) (map[string]interface{}, error)
- func (t Transformer) Params() map[string]interface{}
- func (t Transformer) Result() interface{}
- func (t Transformer) Status() []transformers.Status
- func (t Transformer) WithSpec(ispec interface{}, params map[string]interface{}) (transformers.ITransformer, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var GVK = gvk.NewGroupVersionKind(
"core",
"v1alpha",
"ipfs",
)
Functions ¶
This section is empty.
Types ¶
type SpecSchema ¶
type SpecSchema struct {
Url string `json:"url" template:""`
}
type Transformer ¶
type Transformer struct {
// contains filtered or unexported fields
}
func NewTransformer ¶
func NewTransformer(shell *shell.Shell) *Transformer
func (Transformer) Copy ¶
func (s Transformer) Copy(spec SpecSchema) error
func (Transformer) CreditsConsumed ¶
func (t Transformer) CreditsConsumed() int
func (Transformer) Deadline ¶
func (t Transformer) Deadline() time.Duration
func (Transformer) Params ¶
func (t Transformer) Params() map[string]interface{}
func (Transformer) Result ¶
func (t Transformer) Result() interface{}
func (Transformer) Status ¶
func (t Transformer) Status() []transformers.Status
func (Transformer) WithSpec ¶
func (t Transformer) WithSpec(ispec interface{}, params map[string]interface{}) (transformers.ITransformer, error)
Click to show internal directories.
Click to hide internal directories.