Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Ctl = NewController()
Ctl is the default instance of the package
Functions ¶
func OIDCProviderName ¶
Types ¶
type Controller ¶
type Controller interface { // GetInfo consolidates the info of the system by checking settings in DB and env vars GetInfo(ctx context.Context, opt Options) (*Data, error) // GetCapacity returns total and free space of the storage in byte GetCapacity(ctx context.Context) (*imagestorage.Capacity, error) // GetCA returns a ReadCloser of Harbor's CA if it's configured and accessible from Harbor core GetCA(ctx context.Context) (io.ReadCloser, error) }
Controller defines the methods needed for systeminfo API
Click to show internal directories.
Click to hide internal directories.