file

package
v0.0.0-...-66bbac4 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.18165 -0300 -03 m=+0.008034709

Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.182296 -0300 -03 m=+0.008680001

Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.182846 -0300 -03 m=+0.009230168

Code generated by go generate; DO NOT EDIT. This file was generated at 2023-09-21 13:57:46.183431 -0300 -03 m=+0.009815626

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppendFileAction

func NewAppendFileAction() action_structs.Action

NewAppendFileAction creates a new AppendFileAction with Params initialized

func NewDeleteFileAction

func NewDeleteFileAction() action_structs.Action

NewDeleteFileAction creates a new DeleteFileAction with Params initialized

func NewReadFileAction

func NewReadFileAction() action_structs.Action

NewReadFileAction creates a new ReadFileAction with Params initialized

func NewWriteFileAction

func NewWriteFileAction() action_structs.Action

NewWriteFileAction creates a new WriteFileAction with Params initialized

Types

type AppendFileAction

type AppendFileAction struct {
	Name        string
	Description string
	Params      *action_structs.ActionParameterSet
	Extra       map[string]interface{}
}

func (*AppendFileAction) CheckRequiredParams

func (a *AppendFileAction) CheckRequiredParams() error

CheckRequiredParams checks if all required params are set

func (*AppendFileAction) Execute

func (*AppendFileAction) GetDescription

func (a *AppendFileAction) GetDescription() string

func (*AppendFileAction) GetName

func (a *AppendFileAction) GetName() string

func (*AppendFileAction) GetNotification

func (a *AppendFileAction) GetNotification() string

func (*AppendFileAction) GetParam

func (a *AppendFileAction) GetParam(key string) (string, error)

func (*AppendFileAction) GetParams

func (*AppendFileAction) GetSchema

func (*AppendFileAction) MustGetParam

func (a *AppendFileAction) MustGetParam(key string) string

func (*AppendFileAction) RunPostActions

func (a *AppendFileAction) RunPostActions(request *action_structs.ActionRequest) error

func (*AppendFileAction) RunPreActions

func (a *AppendFileAction) RunPreActions(request *action_structs.ActionRequest) error

func (*AppendFileAction) SetMessage

func (a *AppendFileAction) SetMessage(msg *memory.Message)

func (*AppendFileAction) SetParam

func (a *AppendFileAction) SetParam(key, value string)

func (*AppendFileAction) SkipFunctionCall

func (a *AppendFileAction) SkipFunctionCall() bool

type DeleteFileAction

type DeleteFileAction struct {
	Name        string
	Description string
	Params      *action_structs.ActionParameterSet
	Extra       map[string]interface{}
}

func (*DeleteFileAction) CheckRequiredParams

func (a *DeleteFileAction) CheckRequiredParams() error

CheckRequiredParams checks if all required params are set

func (*DeleteFileAction) Execute

func (*DeleteFileAction) GetDescription

func (a *DeleteFileAction) GetDescription() string

func (*DeleteFileAction) GetName

func (a *DeleteFileAction) GetName() string

func (*DeleteFileAction) GetNotification

func (a *DeleteFileAction) GetNotification() string

func (*DeleteFileAction) GetParam

func (a *DeleteFileAction) GetParam(key string) (string, error)

func (*DeleteFileAction) GetParams

func (*DeleteFileAction) GetSchema

func (*DeleteFileAction) MustGetParam

func (a *DeleteFileAction) MustGetParam(key string) string

func (*DeleteFileAction) RunPostActions

func (a *DeleteFileAction) RunPostActions(request *action_structs.ActionRequest) error

func (*DeleteFileAction) RunPreActions

func (a *DeleteFileAction) RunPreActions(request *action_structs.ActionRequest) error

func (*DeleteFileAction) SetMessage

func (a *DeleteFileAction) SetMessage(msg *memory.Message)

func (*DeleteFileAction) SetParam

func (a *DeleteFileAction) SetParam(key, value string)

func (*DeleteFileAction) SkipFunctionCall

func (a *DeleteFileAction) SkipFunctionCall() bool

type ReadFileAction

type ReadFileAction struct {
	Name        string
	Description string
	Params      *action_structs.ActionParameterSet
	Extra       map[string]interface{}
}

func (*ReadFileAction) CheckRequiredParams

func (a *ReadFileAction) CheckRequiredParams() error

CheckRequiredParams checks if all required params are set

func (*ReadFileAction) Execute

func (*ReadFileAction) GetDescription

func (a *ReadFileAction) GetDescription() string

func (*ReadFileAction) GetName

func (a *ReadFileAction) GetName() string

func (*ReadFileAction) GetNotification

func (a *ReadFileAction) GetNotification() string

func (*ReadFileAction) GetParam

func (a *ReadFileAction) GetParam(key string) (string, error)

func (*ReadFileAction) GetParams

func (a *ReadFileAction) GetParams() []*action_structs.ActionParameter

func (*ReadFileAction) GetSchema

func (*ReadFileAction) MustGetParam

func (a *ReadFileAction) MustGetParam(key string) string

func (*ReadFileAction) RunPostActions

func (a *ReadFileAction) RunPostActions(request *action_structs.ActionRequest) error

func (*ReadFileAction) RunPreActions

func (a *ReadFileAction) RunPreActions(request *action_structs.ActionRequest) error

func (*ReadFileAction) SetMessage

func (a *ReadFileAction) SetMessage(msg *memory.Message)

func (*ReadFileAction) SetParam

func (a *ReadFileAction) SetParam(key, value string)

func (*ReadFileAction) SkipFunctionCall

func (a *ReadFileAction) SkipFunctionCall() bool

type WriteFileAction

type WriteFileAction struct {
	Name        string
	Description string
	Params      *action_structs.ActionParameterSet
	Extra       map[string]interface{}
}

func (*WriteFileAction) CheckRequiredParams

func (a *WriteFileAction) CheckRequiredParams() error

CheckRequiredParams checks if all required params are set

func (*WriteFileAction) Execute

func (*WriteFileAction) GetDescription

func (a *WriteFileAction) GetDescription() string

func (*WriteFileAction) GetName

func (a *WriteFileAction) GetName() string

func (*WriteFileAction) GetNotification

func (a *WriteFileAction) GetNotification() string

func (*WriteFileAction) GetParam

func (a *WriteFileAction) GetParam(key string) (string, error)

func (*WriteFileAction) GetParams

func (*WriteFileAction) GetSchema

func (*WriteFileAction) MustGetParam

func (a *WriteFileAction) MustGetParam(key string) string

func (*WriteFileAction) RunPostActions

func (a *WriteFileAction) RunPostActions(request *action_structs.ActionRequest) error

func (*WriteFileAction) RunPreActions

func (a *WriteFileAction) RunPreActions(request *action_structs.ActionRequest) error

func (*WriteFileAction) SetMessage

func (a *WriteFileAction) SetMessage(msg *memory.Message)

func (*WriteFileAction) SetParam

func (a *WriteFileAction) SetParam(key, value string)

func (*WriteFileAction) SkipFunctionCall

func (a *WriteFileAction) SkipFunctionCall() bool

Jump to

Keyboard shortcuts

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