Documentation
¶
Index ¶
- func RegisterHandlers(server *server.Server, grp *huma.Group)
- type CheckUniqueDomainInput
- type CheckUniqueDomainOutput
- type CollisionOutput
- type CreateRegistryInput
- type CreateRegistryResponse
- type DeleteRegistryInput
- type DnsCheck
- type DnsCheckInput
- type DnsCheckResponse
- type GenerateWildcardDomainInput
- type GenerateWildcardDomainOutput
- type GetRegistryInput
- type GetRegistryResponse
- type HandlerGroup
- func (self *HandlerGroup) ApplyUpdate(ctx context.Context, input *UpdateApplyInput) (*UpdateApplyResponse, error)
- func (self *HandlerGroup) CheckDNSResolution(ctx context.Context, input *DnsCheckInput) (*DnsCheckResponse, error)
- func (self *HandlerGroup) CheckForDomainCollision(ctx context.Context, input *CheckUniqueDomainInput) (output *CheckUniqueDomainOutput, err error)
- func (self *HandlerGroup) CheckForUpdates(ctx context.Context, input *server.BaseAuthInput) (*UpdateCheckResponse, error)
- func (self *HandlerGroup) CheckPermissions(ctx context.Context, requesterUserID uuid.UUID) error
- func (self *HandlerGroup) CreateRegistry(ctx context.Context, input *CreateRegistryInput) (*CreateRegistryResponse, error)
- func (self *HandlerGroup) DeleteRegistry(ctx context.Context, input *DeleteRegistryInput) (*server.DeletedResponse, error)
- func (self *HandlerGroup) GenerateWildcardDomain(ctx context.Context, input *GenerateWildcardDomainInput) (output *GenerateWildcardDomainOutput, err error)
- func (self *HandlerGroup) GetRegistry(ctx context.Context, input *GetRegistryInput) (*GetRegistryResponse, error)
- func (self *HandlerGroup) GetSystemInformation(ctx context.Context, input *server.BaseAuthInput) (*SystemMetaResponse, error)
- func (self *HandlerGroup) GetUpdateStatus(ctx context.Context, input *server.BaseAuthInput) (*UpdateStatusResponse, error)
- func (self *HandlerGroup) ListRegistries(ctx context.Context, input *server.BaseAuthInput) (*ListRegistriesResponse, error)
- func (self *HandlerGroup) SetDefaultRegistry(ctx context.Context, input *SetDefaultRegistryInput) (*SetDefaultRegistryResponse, error)
- func (self *HandlerGroup) UpdateBuildkitSettings(ctx context.Context, input *SettingsUpdateInput) (*SettingsResponse, error)
- type ListRegistriesResponse
- type SetDefaultRegistryInput
- type SetDefaultRegistryResponse
- type SettingsResponse
- type SettingsUpdateInput
- type StorageResponse
- type SystemMeta
- type SystemMetaResponse
- type UpdateApplyInput
- type UpdateApplyResponse
- type UpdateCheckResponse
- type UpdateStatusResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type CheckUniqueDomainInput ¶
type CheckUniqueDomainInput struct { server.BaseAuthInput // contains filtered or unexported fields }
* Check collision
type CheckUniqueDomainOutput ¶
type CheckUniqueDomainOutput struct { Body struct { Data *CollisionOutput `json:"data" doc:"The generated wildcard domain" nullable:"false"` } }
type CollisionOutput ¶
type CollisionOutput struct {
IsUnique bool `json:"is_unique" doc:"True if the domain is unique, false otherwise"`
}
type CreateRegistryInput ¶
type CreateRegistryInput struct { server.BaseAuthInput Body models.CreateRegistryInput }
* Create
type CreateRegistryResponse ¶
type CreateRegistryResponse struct { Body struct { Data *models.RegistryResponse `json:"data" nullable:"false"` } }
type DeleteRegistryInput ¶
type DeleteRegistryInput struct { server.BaseAuthInput Body models.DeleteRegistryInput }
* Delete
type DnsCheckInput ¶
type DnsCheckInput struct { server.BaseAuthInput Domain string `query:"domain" required:"true" description:"Domain to check DNS for"` }
type DnsCheckResponse ¶
type DnsCheckResponse struct { Body struct { Data *DnsCheck `json:"data" nullable:"false"` } }
type GenerateWildcardDomainInput ¶
type GenerateWildcardDomainInput struct { server.BaseAuthInput Body struct { Name string `json:"name" doc:"The base name of the wildcard domain" required:"true" minLength:"1"` } }
type GenerateWildcardDomainOutput ¶
type GenerateWildcardDomainOutput struct { Body struct { Data string `json:"data" doc:"The generated wildcard domain"` } }
type GetRegistryInput ¶
type GetRegistryInput struct { server.BaseAuthInput models.GetRegistryInput }
* Get
type GetRegistryResponse ¶
type GetRegistryResponse struct { Body struct { Data *models.RegistryResponse `json:"data" nullable:"false"` } }
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) ApplyUpdate ¶
func (self *HandlerGroup) ApplyUpdate(ctx context.Context, input *UpdateApplyInput) (*UpdateApplyResponse, error)
func (*HandlerGroup) CheckDNSResolution ¶
func (self *HandlerGroup) CheckDNSResolution(ctx context.Context, input *DnsCheckInput) (*DnsCheckResponse, error)
func (*HandlerGroup) CheckForDomainCollision ¶
func (self *HandlerGroup) CheckForDomainCollision(ctx context.Context, input *CheckUniqueDomainInput) (output *CheckUniqueDomainOutput, err error)
func (*HandlerGroup) CheckForUpdates ¶
func (self *HandlerGroup) CheckForUpdates(ctx context.Context, input *server.BaseAuthInput) (*UpdateCheckResponse, error)
func (*HandlerGroup) CheckPermissions ¶
func (*HandlerGroup) CreateRegistry ¶
func (self *HandlerGroup) CreateRegistry(ctx context.Context, input *CreateRegistryInput) (*CreateRegistryResponse, error)
func (*HandlerGroup) DeleteRegistry ¶
func (self *HandlerGroup) DeleteRegistry(ctx context.Context, input *DeleteRegistryInput) (*server.DeletedResponse, error)
func (*HandlerGroup) GenerateWildcardDomain ¶
func (self *HandlerGroup) GenerateWildcardDomain(ctx context.Context, input *GenerateWildcardDomainInput) (output *GenerateWildcardDomainOutput, err error)
func (*HandlerGroup) GetRegistry ¶
func (self *HandlerGroup) GetRegistry(ctx context.Context, input *GetRegistryInput) (*GetRegistryResponse, error)
func (*HandlerGroup) GetSystemInformation ¶
func (self *HandlerGroup) GetSystemInformation(ctx context.Context, input *server.BaseAuthInput) (*SystemMetaResponse, error)
func (*HandlerGroup) GetUpdateStatus ¶
func (self *HandlerGroup) GetUpdateStatus(ctx context.Context, input *server.BaseAuthInput) (*UpdateStatusResponse, error)
func (*HandlerGroup) ListRegistries ¶
func (self *HandlerGroup) ListRegistries(ctx context.Context, input *server.BaseAuthInput) (*ListRegistriesResponse, error)
func (*HandlerGroup) SetDefaultRegistry ¶
func (self *HandlerGroup) SetDefaultRegistry(ctx context.Context, input *SetDefaultRegistryInput) (*SetDefaultRegistryResponse, error)
func (*HandlerGroup) UpdateBuildkitSettings ¶
func (self *HandlerGroup) UpdateBuildkitSettings(ctx context.Context, input *SettingsUpdateInput) (*SettingsResponse, error)
type ListRegistriesResponse ¶
type ListRegistriesResponse struct { Body struct { Data []*models.RegistryResponse `json:"data" nullable:"false"` } }
* List
type SetDefaultRegistryInput ¶
type SetDefaultRegistryInput struct { server.BaseAuthInput Body models.SetDefaultRegistryInput }
* Set default
type SetDefaultRegistryResponse ¶
type SetDefaultRegistryResponse struct { Body struct { Data *models.RegistryResponse `json:"data" nullable:"false"` } }
type SettingsResponse ¶
type SettingsResponse struct { Body struct { Data *system_service.SystemSettingsResponse `json:"data" nullable:"false"` } }
type SettingsUpdateInput ¶
type SettingsUpdateInput struct { server.BaseAuthInput Body *system_repo.SystemSettingUpdateInput }
type StorageResponse ¶
type SystemMeta ¶
type SystemMeta struct { ExternalIPV6 string `json:"external_ipv6" nullable:"false"` ExternalIPV4 string `json:"external_ipv4" nullable:"false"` Storage *k8s.StorageMetadata `json:"storage" nullable:"false"` SystemSettings *system_service.SystemSettingsResponse `json:"system_settings" nullable:"false"` }
type SystemMetaResponse ¶
type SystemMetaResponse struct { Body struct { Data *SystemMeta `json:"data" nullable:"false"` } }
type UpdateApplyInput ¶
type UpdateApplyInput struct { server.BaseAuthInput Body struct { TargetVersion string `json:"target_version"` } }
* Apply update
type UpdateApplyResponse ¶
type UpdateApplyResponse struct { Body struct { Started bool `json:"started"` } }
type UpdateCheckResponse ¶
type UpdateCheckResponse struct { Body struct { HasUpdateAvailable bool `json:"has_update_available"` AvailableVersions []string `json:"available_versions" nullable:"false"` CurrentVersion string `json:"current_version"` } }
* Check for updates
type UpdateStatusResponse ¶
type UpdateStatusResponse struct { Body struct { Ready bool `json:"ready"` } }
* Get update status
Click to show internal directories.
Click to hide internal directories.