Documentation
¶
Index ¶
- Constants
- func RunBootServer(ipxeServerAddr string, ipxeServiceURL string, k8sClient client.Client, ...) error
- func RunImageProxyServer(imageProxyServerAddr string, k8sClient client.Client, ...)
- func SetStatusCondition(ctx context.Context, k8sClient client.Client, log logr.Logger, ...) error
- type AuthMethod
- type IPXETemplateData
- type ImageDetails
- type RegistryInfo
- type TokenResponse
Constants ¶
View Source
const (
MediaTypeUKI = "application/vnd.ironcore.image.uki"
)
Variables ¶
This section is empty.
Functions ¶
func RunBootServer ¶
func RunImageProxyServer ¶
Types ¶
type AuthMethod ¶ added in v0.3.0
type AuthMethod int
const ( AuthNone AuthMethod = iota // Anonymous access AuthBearer // Bearer token via /token endpoint )
type IPXETemplateData ¶
type ImageDetails ¶
type RegistryInfo ¶ added in v0.3.0
type RegistryInfo struct {
Domain string
AuthMethod AuthMethod
TokenURL string // For bearer token auth
}
type TokenResponse ¶
type TokenResponse struct {
Token string `json:"token"` // Docker registry format
AccessToken string `json:"access_token"` // OAuth2 format (takes precedence)
}
TokenResponse represents the JSON response from an OCI registry token endpoint. Supports both Docker registry format (token) and OAuth2 format (access_token).
Click to show internal directories.
Click to hide internal directories.