orgserviceusercredentials

package
v0.58.3 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AggregatedServiceUserCredential

type AggregatedServiceUserCredential struct {
	Title            string    `rql:"name=title,type=string"`
	ServiceUserTitle string    `rql:"name=serviceuser_title,type=string"`
	CreatedAt        time.Time `rql:"name=created_at,type=datetime"`
	OrgID            string    `rql:"name=org_id,type=string"`
}

type OrganizationServiceUserCredentials

type OrganizationServiceUserCredentials struct {
	Credentials []AggregatedServiceUserCredential `json:"credentials"`
	Pagination  Page                              `json:"pagination"`
}

type Page

type Page struct {
	Limit  int `json:"limit"`
	Offset int `json:"offset"`
}

type Repository

type Repository interface {
	Search(ctx context.Context, orgID string, query *rql.Query) (OrganizationServiceUserCredentials, error)
}

type Service

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

func NewService

func NewService(repository Repository) *Service

func (Service) Search

Jump to

Keyboard shortcuts

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