system_service

package
v0.0.14 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2025 License: MIT Imports: 17 Imported by: 0 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SystemService

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

Integrate system management with internal permissions and kubernetes RBAC

func (*SystemService) CreateRegistry

func (self *SystemService) CreateRegistry(ctx context.Context, requesterUserID uuid.UUID, input models.CreateRegistryInput) (*models.RegistryResponse, error)

func (*SystemService) DeleteRegistry

func (self *SystemService) DeleteRegistry(ctx context.Context, requesterUserID uuid.UUID, input models.DeleteRegistryInput) error

func (*SystemService) GetRegistry

func (self *SystemService) GetRegistry(ctx context.Context, requesterUserID uuid.UUID, input models.GetRegistryInput) (*models.RegistryResponse, error)

func (*SystemService) GetSettings

func (self *SystemService) GetSettings(ctx context.Context, requesterUserID uuid.UUID) (*SystemSettingsResponse, error)

func (*SystemService) ListRegistries

func (self *SystemService) ListRegistries(ctx context.Context, requesterUserID uuid.UUID) ([]*models.RegistryResponse, error)

func (*SystemService) SetDefaultRegistry

func (self *SystemService) SetDefaultRegistry(ctx context.Context, requesterUserID uuid.UUID, input models.SetDefaultRegistryInput) (*models.RegistryResponse, error)

func (*SystemService) UpdateSettings

func (self *SystemService) UpdateSettings(ctx context.Context, requesterUserID uuid.UUID, input *system_repo.SystemSettingUpdateInput) (*SystemSettingsResponse, error)

UpdateSettings updates the system settings in the database and kubernetes

type SystemSettingsResponse

type SystemSettingsResponse struct {
	WildcardDomain    *string                  `json:"wildcard_domain,omitempty" required:"false"`
	BuildkitSettings  *schema.BuildkitSettings `json:"buildkit_settings,omitempty" required:"false"`
	CanUpdateBuildkit bool                     `json:"can_update_buildkit" doc:"If not externally managed, this indicates if the user can update buildkit settings"`
}

Jump to

Keyboard shortcuts

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