inventorysvc

package
v0.5.0-linux-arm64 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2026 License: Apache-2.0 Imports: 7 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package inventorysvc reads the metadata exposed through instance inventory.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Page

type Page[T any] struct {
	Items      []T
	NextCursor *string
}

type Service

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

func New

func (*Service) DataSources

func (s *Service) DataSources(ctx context.Context, org slug.Slug, limit int32, after slug.Slug) (Page[dbgen.ListInventoryDataSourcesRow], error)

func (*Service) Deployments

func (s *Service) Deployments(ctx context.Context, org slug.Slug, limit int32, afterProject, afterEnvironment, afterPipeline slug.Slug) (Page[dbgen.ListInventoryDeploymentsRow], error)

func (*Service) Organizations

func (s *Service) Organizations(ctx context.Context, limit int32, after slug.Slug) (Page[dbgen.ListInventoryOrganizationsRow], error)

func (*Service) Pipelines

func (s *Service) Pipelines(ctx context.Context, org slug.Slug, limit int32, afterProject, afterPipeline slug.Slug) (Page[dbgen.ListInventoryPipelinesRow], error)

func (*Service) Projects

func (s *Service) Projects(ctx context.Context, org slug.Slug, limit int32, after slug.Slug) (Page[dbgen.ListInventoryProjectsRow], error)

func (*Service) Users

func (s *Service) Users(ctx context.Context, limit int32, after, user slug.Slug, email *string) (Page[dbgen.ListInventoryUsersRow], error)

Jump to

Keyboard shortcuts

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