Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VaultService ¶
type VaultService interface { // GetUser returns user which credentials are recognized by vault GetUser() (*auth.User, error) // UpdateServersByFilter returns ServerList synchronized with vault, according filter, using given ServerList as cache UpdateServersByFilter(model.ServerFilter, *model.ServerList) (*model.ServerList, error) SignPublicSSHCertificate(iam.TenantUUID, iam.ProjectUUID, []ext.ServerUUID, pkg.VaultSSHSignRequest) ([]byte, error) // UpdateTenants update oldTenants by vault requests, according specified identifiers given by args UpdateTenants(map[iam.TenantUUID]iam.Tenant, model.StringSet) (map[iam.TenantUUID]iam.Tenant, error) // UpdateProjects update oldProjects by vault requests, according specified identifiers given by args UpdateProjects(map[iam.ProjectUUID]iam.Project, map[iam.TenantUUID]iam.Tenant, model.StringSet) (map[iam.TenantUUID]iam.Tenant, map[iam.ProjectUUID]iam.Project, error) }
func NewService ¶
func NewService() (VaultService, error)
Click to show internal directories.
Click to hide internal directories.