Documentation
¶
Index ¶
- type AddVaultRequest
- type AddVaultResponse
- type AddVaultUsecase
- type FieldInspectModel
- type InspectItemRequest
- type InspectItemResponse
- type InspectItemUsecase
- type InspectProfileRequest
- type InspectProfileResponse
- type InspectProfileUsecase
- type ItemInspectModel
- type ItemThinModel
- type ListItemsResponse
- type ListItemsUsecase
- type ListProfileRequest
- type ListProfileResponse
- type ListProfileUsecase
- type ListVaultResponse
- type ListVaultUsecase
- type ProfileInspectModel
- type ProfileNameOnlyModel
- type ProfileThinModel
- type RemoveVaultRequest
- type RemoveVaultUsecase
- type SignInVaultRequest
- type SignInVaultUsecase
- type VaultThinModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddVaultRequest ¶
AddVaultRequest struct
type AddVaultResponse ¶
type AddVaultResponse struct {
Vault *VaultThinModel
}
AddVaultResponse struct
type AddVaultUsecase ¶
type AddVaultUsecase struct {
}
AddVaultUsecase usecase
func (*AddVaultUsecase) Execute ¶
func (u *AddVaultUsecase) Execute(request *AddVaultRequest) (*AddVaultResponse, error)
Execute the usecase
type FieldInspectModel ¶
type FieldInspectModel struct {
Name string `json:"name"`
Value string `json:"value"`
IsPassword bool `json:"isPassword"`
}
FieldInspectModel struct
type InspectItemRequest ¶
type InspectItemRequest struct {
ItemName string
}
InspectItemRequest struct
type InspectItemResponse ¶
type InspectItemResponse struct {
Item *ItemInspectModel
}
InspectItemResponse struct
type InspectItemUsecase ¶
type InspectItemUsecase struct {
}
InspectItemUsecase usecase
func NewInspectItemUsecase ¶
func NewInspectItemUsecase() *InspectItemUsecase
NewInspectItemUsecase constructor
func (*InspectItemUsecase) Execute ¶
func (u *InspectItemUsecase) Execute(request *InspectItemRequest) (*InspectItemResponse, error)
Execute the usecase
type InspectProfileRequest ¶
type InspectProfileRequest struct {
VaultAliasOrIdentifier string
}
InspectProfileRequest struct
type InspectProfileResponse ¶
type InspectProfileResponse struct {
Profile *ProfileInspectModel
}
InspectProfileResponse struct
type InspectProfileUsecase ¶
type InspectProfileUsecase struct {
}
InspectProfileUsecase usecase
func NewInspectProfileUsecase ¶
func NewInspectProfileUsecase() *InspectProfileUsecase
NewInspectProfileUsecase constructor
func (*InspectProfileUsecase) Execute ¶
func (u *InspectProfileUsecase) Execute() (*InspectProfileResponse, error)
Execute the usecase
type ItemInspectModel ¶
type ItemInspectModel struct {
Name string `json:"name"`
Fields []*FieldInspectModel `json:"fields"`
}
ItemInspectModel struct
type ItemThinModel ¶
ItemThinModel struct
type ListItemsResponse ¶
type ListItemsResponse struct {
Items []*ItemThinModel
}
ListItemsResponse struct
type ListItemsUsecase ¶
type ListItemsUsecase struct {
}
ListItemsUsecase usecase
func NewListItemsUsecase ¶
func NewListItemsUsecase() *ListItemsUsecase
NewListItemsUsecase constructor
func (*ListItemsUsecase) Execute ¶
func (u *ListItemsUsecase) Execute() (*ListItemsResponse, error)
Execute the usecase
type ListProfileRequest ¶
type ListProfileRequest struct {
VaultAliasOrIdentifier string
}
ListProfileRequest struct
type ListProfileResponse ¶
type ListProfileResponse struct {
Profiles []*ProfileNameOnlyModel
}
ListProfileResponse struct
type ListProfileUsecase ¶
type ListProfileUsecase struct {
}
ListProfileUsecase usecase
func NewListProfileUsecase ¶
func NewListProfileUsecase() *ListProfileUsecase
NewListProfileUsecase constructor
func (*ListProfileUsecase) Execute ¶
func (u *ListProfileUsecase) Execute() (*ListProfileResponse, error)
Execute the usecase
type ListVaultResponse ¶
type ListVaultResponse struct {
Vaults []*VaultThinModel
}
ListVaultResponse struct
func (*ListVaultResponse) HasVaults ¶
func (r *ListVaultResponse) HasVaults() bool
HasVaults returns whether or not vaults have been found
type ListVaultUsecase ¶
type ListVaultUsecase struct {
}
ListVaultUsecase usecase
func NewListVaultUsecase ¶
func NewListVaultUsecase() *ListVaultUsecase
NewListVaultUsecase constructor
func (*ListVaultUsecase) Execute ¶
func (u *ListVaultUsecase) Execute() *ListVaultResponse
Execute the usecase
type ProfileInspectModel ¶
type ProfileInspectModel struct {
Name string `json:"name"`
Items []*ItemThinModel `json:"items"`
}
ProfileInspectModel struct
type ProfileNameOnlyModel ¶
type ProfileNameOnlyModel struct {
Name string `json:"name"`
}
ProfileNameOnlyModel struct
type ProfileThinModel ¶
ProfileThinModel struct
type RemoveVaultRequest ¶
type RemoveVaultRequest struct {
VaultAliasOrIdentifier string
}
RemoveVaultRequest struct
type RemoveVaultUsecase ¶
type RemoveVaultUsecase struct {
}
RemoveVaultUsecase usecase
func NewRemoveVaultUsecase ¶
func NewRemoveVaultUsecase() *RemoveVaultUsecase
NewRemoveVaultUsecase constructor
func (*RemoveVaultUsecase) Execute ¶
func (u *RemoveVaultUsecase) Execute(request *RemoveVaultRequest) error
Execute usecase
type SignInVaultRequest ¶
type SignInVaultRequest struct {
VaultAliasOrIdentifier string
VaultProfile string
VaultSecret string
}
SignInVaultRequest struct
type SignInVaultUsecase ¶
type SignInVaultUsecase struct {
}
SignInVaultUsecase usecase
func NewSignInVaultUsecase ¶
func NewSignInVaultUsecase() *SignInVaultUsecase
NewSignInVaultUsecase constructor
func (*SignInVaultUsecase) Execute ¶
func (u *SignInVaultUsecase) Execute(request *SignInVaultRequest) error
Execute usecase
type VaultThinModel ¶
VaultThinModel struct