Documentation ¶
Index ¶
- type Store
- func (storage *Store) AddCert(name string, certificate []byte, key []byte) (int64, error)
- func (storage *Store) AddCred(name string, server string, cacert []byte, operatorcert []byte, ...) error
- func (storage *Store) AddOperator(name string, certId int64) error
- func (storage *Store) AddRelay(tun_alias string, agent_hash string) error
- func (storage *Store) AddTun(alias string, name string, isLoopback bool) error
- func (storage *Store) DelCert(name string) error
- func (storage *Store) DelCred(id int) error
- func (storage *Store) DelOperator(name string) error
- func (storage *Store) DelRelay(agent_hash string) error
- func (storage *Store) DelTun(alias string) error
- func (storage *Store) GetAgentTun(agent_hash string) (*agentsRow, error)
- func (storage *Store) GetCert(name string) (*certsRow, error)
- func (storage *Store) GetCerts() ([]certsRow, error)
- func (storage *Store) GetCreds() ([]credsRow, error)
- func (storage *Store) GetOperator(name string) (*operatorsRow, error)
- func (storage *Store) GetOperators() ([]operatorsRow, error)
- func (storage *Store) GetTuns() ([]tunsRow, error)
- func (storage *Store) InitClient() error
- func (storage *Store) InitServer() error
- func (storage *Store) RenameTun(oldAlias, newAlias string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) DelOperator ¶
func (*Store) GetAgentTun ¶
func (*Store) GetOperator ¶
func (*Store) GetOperators ¶
func (*Store) InitClient ¶
func (*Store) InitServer ¶
Click to show internal directories.
Click to hide internal directories.