bfs

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const BfsABI = "" /* 3040-byte string literal not displayed */

BfsABI is the input ABI used to generate the binding from.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bfs

type Bfs struct {
	BfsCaller     // Read-only binding to the contract
	BfsTransactor // Write-only binding to the contract
	BfsFilterer   // Log filterer for contract events
}

Bfs is an auto generated Go binding around a Solidity contract.

func NewBfs

func NewBfs(address common.Address, backend bind.ContractBackend) (*Bfs, error)

NewBfs creates a new instance of Bfs, bound to a specific deployed contract.

type BfsCaller

type BfsCaller struct {
	// contains filtered or unexported fields
}

BfsCaller is an auto generated read-only Go binding around a Solidity contract.

func NewBfsCaller

func NewBfsCaller(address common.Address, caller bind.ContractCaller) (*BfsCaller, error)

NewBfsCaller creates a new read-only instance of Bfs, bound to a specific deployed contract.

func (*BfsCaller) List

func (_Bfs *BfsCaller) List(opts *bind.CallOpts, absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)

List is a free data retrieval call binding the contract method 0x912f3095.

Solidity: function list(string absolutePath, uint256 offset, uint256 limit) constant returns(int256, []BfsInfo)

func (*BfsCaller) List0

func (_Bfs *BfsCaller) List0(opts *bind.CallOpts, absolutePath string) (int32, []BfsInfo, error)

List0 is a free data retrieval call binding the contract method 0xfe42bf1a.

Solidity: function list(string absolutePath) constant returns(int32, []BfsInfo)

func (_Bfs *BfsCaller) Readlink(opts *bind.CallOpts, absolutePath string) (common.Address, error)

Readlink is a free data retrieval call binding the contract method 0x1d05a836.

Solidity: function readlink(string absolutePath) constant returns(address)

type BfsCallerRaw

type BfsCallerRaw struct {
	Contract *BfsCaller // Generic read-only contract binding to access the raw methods on
}

BfsCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.

func (*BfsCallerRaw) Call

func (_Bfs *BfsCallerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type BfsCallerSession

type BfsCallerSession struct {
	Contract *BfsCaller    // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

BfsCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.

func (*BfsCallerSession) List

func (_Bfs *BfsCallerSession) List(absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)

List is a free data retrieval call binding the contract method 0x912f3095.

Solidity: function list(string absolutePath, uint256 offset, uint256 limit) constant returns(int256, []BfsInfo)

func (*BfsCallerSession) List0

func (_Bfs *BfsCallerSession) List0(absolutePath string) (int32, []BfsInfo, error)

List0 is a free data retrieval call binding the contract method 0xfe42bf1a.

Solidity: function list(string absolutePath) constant returns(int32, []BfsInfo)

func (_Bfs *BfsCallerSession) Readlink(absolutePath string) (common.Address, error)

Readlink is a free data retrieval call binding the contract method 0x1d05a836.

Solidity: function readlink(string absolutePath) constant returns(address)

type BfsFilterer

type BfsFilterer struct {
	// contains filtered or unexported fields
}

BfsFilterer is an auto generated log filtering Go binding around a Solidity contract events.

func NewBfsFilterer

func NewBfsFilterer(address common.Address, filterer bind.ContractFilterer) (*BfsFilterer, error)

NewBfsFilterer creates a new log filterer instance of Bfs, bound to a specific deployed contract.

type BfsInfo

type BfsInfo struct {
	FileName string
	FileType string
	Ext      []string
}

BfsInfo is an auto generated low-level Go binding around an user-defined struct.

type BfsRaw

type BfsRaw struct {
	Contract *Bfs // Generic contract binding to access the raw methods on
}

BfsRaw is an auto generated low-level Go binding around a Solidity contract.

func (*BfsRaw) Call

func (_Bfs *BfsRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BfsRaw) TransactWithResult

func (_Bfs *BfsRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

Transact invokes the (paid) contract method with params as input values.

func (*BfsRaw) Transfer

func (_Bfs *BfsRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BfsSession

type BfsSession struct {
	Contract     *Bfs              // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BfsSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.

func (_Bfs *BfsSession) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, _abi string) (*types.Transaction, error)

func (*BfsSession) AsyncLink0

func (_Bfs *BfsSession) AsyncLink0(handler func(*types.Receipt, error), name string, version string, _address string, _abi string) (*types.Transaction, error)

func (*BfsSession) AsyncMkdir

func (_Bfs *BfsSession) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)

func (*BfsSession) AsyncRebuildBfs

func (_Bfs *BfsSession) AsyncRebuildBfs(handler func(*types.Receipt, error)) (*types.Transaction, error)

func (*BfsSession) AsyncTouch

func (_Bfs *BfsSession) AsyncTouch(handler func(*types.Receipt, error), absolutePath string, fileType string) (*types.Transaction, error)
func (_Bfs *BfsSession) Link(absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)

Link is a paid mutator transaction binding the contract method 0x8df118af.

Solidity: function link(string absolutePath, string _address, string _abi) returns(int256)

func (*BfsSession) Link0

func (_Bfs *BfsSession) Link0(name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)

Link0 is a paid mutator transaction binding the contract method 0xe19c2fcf.

Solidity: function link(string name, string version, string _address, string _abi) returns(int32)

func (*BfsSession) List

func (_Bfs *BfsSession) List(absolutePath string, offset *big.Int, limit *big.Int) (*big.Int, []BfsInfo, error)

List is a free data retrieval call binding the contract method 0x912f3095.

Solidity: function list(string absolutePath, uint256 offset, uint256 limit) constant returns(int256, []BfsInfo)

func (*BfsSession) List0

func (_Bfs *BfsSession) List0(absolutePath string) (int32, []BfsInfo, error)

List0 is a free data retrieval call binding the contract method 0xfe42bf1a.

Solidity: function list(string absolutePath) constant returns(int32, []BfsInfo)

func (*BfsSession) Mkdir

func (_Bfs *BfsSession) Mkdir(absolutePath string) (int32, *types.Transaction, *types.Receipt, error)

Mkdir is a paid mutator transaction binding the contract method 0x876b0eb2.

Solidity: function mkdir(string absolutePath) returns(int32)

func (_Bfs *BfsSession) Readlink(absolutePath string) (common.Address, error)

Readlink is a free data retrieval call binding the contract method 0x1d05a836.

Solidity: function readlink(string absolutePath) constant returns(address)

func (*BfsSession) RebuildBfs

func (_Bfs *BfsSession) RebuildBfs() (*big.Int, *types.Transaction, *types.Receipt, error)

RebuildBfs is a paid mutator transaction binding the contract method 0xa007e274.

Solidity: function rebuildBfs() returns(int256)

func (*BfsSession) Touch

func (_Bfs *BfsSession) Touch(absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)

Touch is a paid mutator transaction binding the contract method 0x131ffcdd.

Solidity: function touch(string absolutePath, string fileType) returns(int32)

type BfsTransactor

type BfsTransactor struct {
	// contains filtered or unexported fields
}

BfsTransactor is an auto generated write-only Go binding around a Solidity contract.

func NewBfsTransactor

func NewBfsTransactor(address common.Address, transactor bind.ContractTransactor) (*BfsTransactor, error)

NewBfsTransactor creates a new write-only instance of Bfs, bound to a specific deployed contract.

func (_Bfs *BfsTransactor) AsyncLink(handler func(*types.Receipt, error), opts *bind.TransactOpts, absolutePath string, _address string, _abi string) (*types.Transaction, error)

func (*BfsTransactor) AsyncLink0

func (_Bfs *BfsTransactor) AsyncLink0(handler func(*types.Receipt, error), opts *bind.TransactOpts, name string, version string, _address string, _abi string) (*types.Transaction, error)

func (*BfsTransactor) AsyncMkdir

func (_Bfs *BfsTransactor) AsyncMkdir(handler func(*types.Receipt, error), opts *bind.TransactOpts, absolutePath string) (*types.Transaction, error)

func (*BfsTransactor) AsyncRebuildBfs

func (_Bfs *BfsTransactor) AsyncRebuildBfs(handler func(*types.Receipt, error), opts *bind.TransactOpts) (*types.Transaction, error)

func (*BfsTransactor) AsyncTouch

func (_Bfs *BfsTransactor) AsyncTouch(handler func(*types.Receipt, error), opts *bind.TransactOpts, absolutePath string, fileType string) (*types.Transaction, error)
func (_Bfs *BfsTransactor) Link(opts *bind.TransactOpts, absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)

Link is a paid mutator transaction binding the contract method 0x8df118af.

Solidity: function link(string absolutePath, string _address, string _abi) returns(int256)

func (*BfsTransactor) Link0

func (_Bfs *BfsTransactor) Link0(opts *bind.TransactOpts, name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)

Link0 is a paid mutator transaction binding the contract method 0xe19c2fcf.

Solidity: function link(string name, string version, string _address, string _abi) returns(int32)

func (*BfsTransactor) Mkdir

func (_Bfs *BfsTransactor) Mkdir(opts *bind.TransactOpts, absolutePath string) (int32, *types.Transaction, *types.Receipt, error)

Mkdir is a paid mutator transaction binding the contract method 0x876b0eb2.

Solidity: function mkdir(string absolutePath) returns(int32)

func (*BfsTransactor) RebuildBfs

func (_Bfs *BfsTransactor) RebuildBfs(opts *bind.TransactOpts) (*big.Int, *types.Transaction, *types.Receipt, error)

RebuildBfs is a paid mutator transaction binding the contract method 0xa007e274.

Solidity: function rebuildBfs() returns(int256)

func (*BfsTransactor) Touch

func (_Bfs *BfsTransactor) Touch(opts *bind.TransactOpts, absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)

Touch is a paid mutator transaction binding the contract method 0x131ffcdd.

Solidity: function touch(string absolutePath, string fileType) returns(int32)

type BfsTransactorRaw

type BfsTransactorRaw struct {
	Contract *BfsTransactor // Generic write-only contract binding to access the raw methods on
}

BfsTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.

func (*BfsTransactorRaw) TransactWithResult

func (_Bfs *BfsTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)

Transact invokes the (paid) contract method with params as input values.

func (*BfsTransactorRaw) Transfer

func (_Bfs *BfsTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BfsTransactorSession

type BfsTransactorSession struct {
	Contract     *BfsTransactor    // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BfsTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.

func (_Bfs *BfsTransactorSession) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, _abi string) (*types.Transaction, error)

func (*BfsTransactorSession) AsyncLink0

func (_Bfs *BfsTransactorSession) AsyncLink0(handler func(*types.Receipt, error), name string, version string, _address string, _abi string) (*types.Transaction, error)

func (*BfsTransactorSession) AsyncMkdir

func (_Bfs *BfsTransactorSession) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)

func (*BfsTransactorSession) AsyncRebuildBfs

func (_Bfs *BfsTransactorSession) AsyncRebuildBfs(handler func(*types.Receipt, error)) (*types.Transaction, error)

func (*BfsTransactorSession) AsyncTouch

func (_Bfs *BfsTransactorSession) AsyncTouch(handler func(*types.Receipt, error), absolutePath string, fileType string) (*types.Transaction, error)
func (_Bfs *BfsTransactorSession) Link(absolutePath string, _address string, _abi string) (*big.Int, *types.Transaction, *types.Receipt, error)

Link is a paid mutator transaction binding the contract method 0x8df118af.

Solidity: function link(string absolutePath, string _address, string _abi) returns(int256)

func (*BfsTransactorSession) Link0

func (_Bfs *BfsTransactorSession) Link0(name string, version string, _address string, _abi string) (int32, *types.Transaction, *types.Receipt, error)

Link0 is a paid mutator transaction binding the contract method 0xe19c2fcf.

Solidity: function link(string name, string version, string _address, string _abi) returns(int32)

func (*BfsTransactorSession) Mkdir

func (_Bfs *BfsTransactorSession) Mkdir(absolutePath string) (int32, *types.Transaction, *types.Receipt, error)

Mkdir is a paid mutator transaction binding the contract method 0x876b0eb2.

Solidity: function mkdir(string absolutePath) returns(int32)

func (*BfsTransactorSession) RebuildBfs

func (_Bfs *BfsTransactorSession) RebuildBfs() (*big.Int, *types.Transaction, *types.Receipt, error)

RebuildBfs is a paid mutator transaction binding the contract method 0xa007e274.

Solidity: function rebuildBfs() returns(int256)

func (*BfsTransactorSession) Touch

func (_Bfs *BfsTransactorSession) Touch(absolutePath string, fileType string) (int32, *types.Transaction, *types.Receipt, error)

Touch is a paid mutator transaction binding the contract method 0x131ffcdd.

Solidity: function touch(string absolutePath, string fileType) returns(int32)

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewBfsService

func NewBfsService(client *client.Client) (*Service, error)

NewCnsService returns ptr of Service

func (service *Service) AsyncLink(handler func(*types.Receipt, error), absolutePath string, _address string, _abi string) (*types.Transaction, error)

func (*Service) AsyncLink0

func (service *Service) AsyncLink0(handler func(*types.Receipt, error), name string, version string, _address string, _abi string) (*types.Transaction, error)

func (*Service) AsyncMkdir

func (service *Service) AsyncMkdir(handler func(*types.Receipt, error), absolutePath string) (*types.Transaction, error)
func (service *Service) Link(absolutePath string, _address string, _abi string) (int64, error)

func (*Service) Link0

func (service *Service) Link0(name string, version string, _address string, _abi string) (int64, error)

func (*Service) List

func (service *Service) List(absolutePath string, offset *big.Int, limit *big.Int) (int64, []BfsInfo, error)

func (*Service) List0

func (service *Service) List0(absolutePath string) (int64, []BfsInfo, error)

func (*Service) Mkdir

func (service *Service) Mkdir(absolutePath string) (int64, error)
func (service *Service) Readlink(absolutePath string) (common.Address, error)

Jump to

Keyboard shortcuts

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