Documentation ¶
Index ¶
- type FileProjectI
- type Project
- func (prj *Project) AddStorage(ctx context.Context, storageObjI storage.StorageI) error
- func (prj *Project) CompareProject(ctx context.Context, compareProject Project) (StoreCompare, error)
- func (prj *Project) GenerateAesKey(ctx context.Context, bits int, keyName string) (eruaes.AesKey, error)
- func (prj *Project) GenerateRsaKeyPair(ctx context.Context, bits int, keyPairName string) (erursa.RsaKeyPair, error)
- type StoreCompare
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileProjectI ¶
type Project ¶
type Project struct { ProjectId string `json:"project_id" eru:"required"` Storages map[string]storage.StorageI `json:"storages"` RsaKeyPairs map[string]erursa.RsaKeyPair `json:"rsa_keypairs"` AesKeys map[string]eruaes.AesKey `json:"aes_keys"` }
func (*Project) AddStorage ¶
func (*Project) CompareProject ¶
func (*Project) GenerateAesKey ¶
func (*Project) GenerateRsaKeyPair ¶
Click to show internal directories.
Click to hide internal directories.