Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
OpPath string
Subdomain string
Email string
Password string
SecretKey string
Session string
// contains filtered or unexported fields
}
Client : 1Password client
func (Client) GetDocument ¶
func (op Client) GetDocument(vault VaultName, docName DocumentName) (DocumentValue, error)
Calls `op get document` command usage: op get document <document> [--vault=<vault>] [--session=<session>]
type DocumentName ¶
type DocumentName string
type DocumentValue ¶
type DocumentValue string
type FieldMap ¶
type FieldMap map[FieldName]FieldValue
type FieldValue ¶
type FieldValue string
type ItemMap ¶
type ItemMap map[SectionName]FieldMap
type SectionName ¶
type SectionName string
Click to show internal directories.
Click to hide internal directories.