httpapi

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version = "1.0.0-dev"

Version is replaced at release build time through -ldflags. Source and development builds keep an explicit suffix so operators can distinguish them from tagged release artifacts.

Functions

This section is empty.

Types

type AuditStore

type AuditStore interface {
	RecordAudit(context.Context, string, string, int, string, string, time.Duration) error
	ListAuditEvents(context.Context, auditlog.Query) (auditlog.Page, error)
}

type HealthChecker

type HealthChecker interface {
	Health(context.Context) (map[string]string, error)
}

type Server

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

func New

func New(config *appconfig.Config, environments *environment.Repository, jobManager *jobs.Manager, status *statusservice.Service, authentication *auth.Service, accessServices ...*access.Service) (*Server, error)

func (*Server) Handler

func (s *Server) Handler() http.Handler

func (*Server) SetAWSCatalog

func (s *Server) SetAWSCatalog(catalog AWSCatalog)

func (*Server) SetAWSCredentialService

func (s *Server) SetAWSCredentialService(credentials *awscredentials.Service)

func (*Server) SetCICDService

func (s *Server) SetCICDService(service *cicd.Service)

func (*Server) SetComponentCatalog

func (s *Server) SetComponentCatalog(catalog *componentcatalog.Service)

func (*Server) SetDataServiceCredentialService

func (s *Server) SetDataServiceCredentialService(credentials *dataservicecredentials.Service)

func (*Server) SetDataServices

func (s *Server) SetDataServices(auditStore AuditStore, healthChecker HealthChecker)

func (*Server) SetGitLabService

func (s *Server) SetGitLabService(service *gitlab.Service)

func (*Server) SetResourceService

func (s *Server) SetResourceService(resources *resourcecenter.Service)

func (*Server) SetStateBackendService

func (s *Server) SetStateBackendService(service *statebackend.Service)

func (*Server) SetStaticCDNService

func (s *Server) SetStaticCDNService(service *staticcdn.Service)

func (*Server) SetTLSCertificateService

func (s *Server) SetTLSCertificateService(certificates *tlscertificates.Service)

Jump to

Keyboard shortcuts

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