databases

package
v0.22.1 Latest Latest
Warning

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

Go to latest
Published: May 28, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Copyright 2025 BeyondTrust. All rights reserved. Package databases implements functions to manage databases in Password Safe.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DatabaseObj

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

func NewDatabaseObj

func NewDatabaseObj(authentication authentication.AuthenticationObj, logger logging.Logger) (*DatabaseObj, error)

NewDatabaseObj creates DatabaseObj

func (*DatabaseObj) CreateDatabaseFlow

func (databaseObj *DatabaseObj) CreateDatabaseFlow(assetId string, databaseDetails entities.DatabaseDetails) (entities.DatabaseResponse, error)

CreateDatabaseFlow is responsible for creating databases in Password Safe.

func (*DatabaseObj) GetDatabasesList added in v0.21.0

func (databaseObj *DatabaseObj) GetDatabasesList(endpointPath string, method string) ([]entities.DatabaseResponse, error)

GetDatabasesList call Databases enpoint and returns databases list

func (*DatabaseObj) GetDatabasesListFlow added in v0.21.0

func (databaseObj *DatabaseObj) GetDatabasesListFlow() ([]entities.DatabaseResponse, error)

GetDatabasesListFlow get databases list.

Jump to

Keyboard shortcuts

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