Documentation
¶
Index ¶
- Constants
- Variables
- func AccessPolicy(apps []App, identityConfigured bool) error
- func AppBrowserMount(app App, mode string) string
- func AppPath(name string) string
- func BrowserPath(raw string) (string, bool)
- func CanonicalOrigin(raw string) (string, error)
- func ChangedApps(before, after []App) []string
- func ControlScopes(plane Plane) []string
- func DecodeJSONFields(data []byte, target any, required ...string) error
- func DecodeJSONNonNull(data []byte, target any) error
- func DecodeJSONStrict(data []byte, target any) error
- func Dependencies(apps []App) []string
- func DependencyEnvName(name string) string
- func Expand(template string, lookup func(string) (string, bool)) (string, bool)
- func IsValidDigestImage(image string) bool
- func NormalizeEgressHost(host string) (string, error)
- func ParseAppPath(path string) (string, bool)
- func ParseAppResource(resource string) (string, string, bool)
- func ParseSessionAudience(origin, audience string) (string, string, bool)
- func ParseWebPath(raw string) (string, bool)
- func PlaneOrigin(origin string, plane Plane, sessionID string) (string, error)
- func PlaneScopes(plane Plane) (read, write string)
- func RegistryHost(origin string) string
- func RemoteURL(raw string) (*url.URL, error)
- func ReservedAppNames() []string
- func SessionAudience(origin, mode, sessionID string) (string, error)
- func SessionScopes(mode string, apps []App) []string
- func SystemScopes() []string
- func TemplateInputs(template string) []string
- func ValidAppName(value string) bool
- func ValidAppNames(names []string) bool
- func ValidArgs[I any](env map[string]I, args []Template) bool
- func ValidBuildArchitectures(architectures []string) bool
- func ValidDNSLabel(value string) bool
- func ValidDNSName(value string) bool
- func ValidDigest(value string) bool
- func ValidEnvName(value string) bool
- func ValidEnvTemplates[I any](env map[string]I, templates map[string]Template) bool
- func ValidImageRepositoryPrefix(prefix string) bool
- func ValidInputValue(value string) bool
- func ValidMCPName(name string) bool
- func ValidPort(port int) bool
- func ValidRegistryHost(value string) bool
- func ValidRemoteHeader(name string) bool
- func ValidRepository(value string) bool
- func ValidateAccess(access *AppAccess) error
- func ValidateAppMounts(apps []App) error
- func ValidateRegistry(registry string) error
- func WebPath(name string) string
- type AccessRule
- type AccountManagement
- type App
- type AppAccess
- type AppBuildRef
- type AppEgressPolicy
- type AppRequest
- type AppsRequestFor
- type Artifact
- type AuthorizeLifecycleRequest
- type BuildRecord
- type BuildRuntime
- type Condition
- type ConfigRevision
- type ConfigValue
- type ConfigValues
- type DeleteSessionRequest
- type DeleteSessionResultFor
- type Egress
- type EgressDestination
- type EgressRequest
- type EgressResponse
- type EgressStatus
- type Error
- type ErrorResponse
- type GetImportRequest
- type Hook
- type HookInvocation
- type Icon
- type Import
- type ImportRegistryPackageRequest
- type Info
- type Input
- type InputName
- type InstallationReference
- type InstalledRelease
- type LifecycleOperation
- type LifecycleStatus
- type OAuthClient
- type OAuthInfo
- type OAuthRequirement
- type Owner
- type PackageSelection
- type Plane
- type RegistryHeader
- type RegistryRef
- type RegistrySource
- type Release
- type Remote
- type ResolvedAppBuild
- type RetryLifecycleRequest
- type SessionEndpoint
- type SessionLogsRequest
- type SessionRequest
- type SessionResponse
- type SetEgressRequest
- type SetValueRequest
- type Template
- type Time
- type UpdateSessionRequestFor
- type UploadGrant
- type UploadRequest
- type VariableRequest
- type WritePrecondition
Constants ¶
const ( ToolCreateSession = "create_session" ToolGetSession = "get_session" ToolUpdateSession = "update_session" ToolDeleteSession = "delete_session" ToolRenewSession = "renew_session" ToolAuthorizeLifecycle = "authorize_lifecycle" ToolRetryLifecycle = "retry_lifecycle" ToolUploadGrant = "issue_upload_grant" ToolSetValue = "set_value" ToolDeleteValue = "delete_value" ToolListValues = "list_values" ToolGetEgress = "get_egress" ToolSetEgress = "set_egress" )
const ( APIPathInfo = "/.well-known/holon" HeaderInstallationUID = "X-Holon-Installation-UID" )
const ( SchemeHTTPS = "https" HTTPSPrefix = SchemeHTTPS + "://" APIPathSessions = "/sessions" MCPPathPrefix = "/mcp/" MCPPath = "/mcp" HeaderAuthorization = "Authorization" HeaderContentType = "Content-Type" MIMEApplicationJSON = "application/json" MIMETextPlain = "text/plain; charset=utf-8" BearerScheme = "Bearer" BearerPrefix = BearerScheme + " " UploadUsername = "holon-upload" )
const ( ToolImportRegistryPackage = "import_registry_package" ToolGetImport = "get_import" )
const ( OTELServiceNameEnv = "OTEL_SERVICE_NAME" OTELResourceAttributesEnv = "OTEL_RESOURCE_ATTRIBUTES" OTELExporterOTLPEndpointEnv = "OTEL_EXPORTER_OTLP_ENDPOINT" OTELExporterOTLPProtocolEnv = "OTEL_EXPORTER_OTLP_PROTOCOL" )
const ( ModeDevelopment = "development" ModeProduction = "production" ProductionName = "production" )
const ( ScopeDevRead = "system:dev:read" ScopeDevWrite = "system:dev:write" ScopeProdRead = "system:prod:read" ScopeProdWrite = "system:prod:write" )
const ( ConditionReady = "Ready" ConditionAvailable = "Available" ReasonInvalidIdentity = "InvalidIdentity" ReasonInvalidExpiry = "InvalidExpiry" ReasonInvalidSpec = "InvalidSpec" ReasonDeleting = "Deleting" ReasonLeaseExpired = "LeaseExpired" ReasonProgressDeadline = "ProgressDeadlineExceeded" )
const MCPCallEvent = "holon.mcp.call"
MCPCallEvent is the event.name of the completion record logged for each MCP call, sampled or not.
const MCPRegistryOrigin = "https://registry.modelcontextprotocol.io"
const PlatformPaths = `` /* 130-byte string literal not displayed */
const RuntimeConfigEnv = "HOLON_MCP_RUNTIME_CONFIG"
const ToolResolveAppBuild = "resolve_app_build"
Variables ¶
var ErrInvalidAccess = errors.New("invalid access configuration")
Functions ¶
func AccessPolicy ¶
func AppBrowserMount ¶
func BrowserPath ¶
func CanonicalOrigin ¶
func ChangedApps ¶
func ControlScopes ¶
func DecodeJSONNonNull ¶
func DecodeJSONStrict ¶
func Dependencies ¶
func DependencyEnvName ¶
func Expand ¶
Expand replaces each placeholder with lookup's value for its input. A templated value is absent unless every input it names has a value.
func IsValidDigestImage ¶
func NormalizeEgressHost ¶
func ParseAppPath ¶
func ParseSessionAudience ¶
func ParseWebPath ¶
func PlaneScopes ¶
func RegistryHost ¶
func ReservedAppNames ¶
func ReservedAppNames() []string
func SessionAudience ¶
func SessionScopes ¶
func SystemScopes ¶
func SystemScopes() []string
func TemplateInputs ¶
TemplateInputs returns the names a template's placeholders refer to.
func ValidAppName ¶
func ValidAppNames ¶
func ValidArgs ¶
ValidArgs reports whether each argument is single-line text whose placeholders name inputs env declares.
func ValidBuildArchitectures ¶
func ValidDNSLabel ¶
ValidDNSLabel uses Kubernetes' lowercase RFC 1123 §2.1 hostname-label profile.
func ValidDNSName ¶
func ValidDigest ¶
func ValidEnvName ¶
func ValidEnvTemplates ¶
ValidEnvTemplates reports whether each template sets a variable env does not declare, from inputs env declares.
func ValidInputValue ¶
func ValidMCPName ¶
func ValidRegistryHost ¶
func ValidRemoteHeader ¶
func ValidRepository ¶
func ValidateAccess ¶
func ValidateAppMounts ¶
func ValidateRegistry ¶
Types ¶
type AccessRule ¶
type AccessRule struct {
// +nullable
// +optional
OAuth *OAuthRequirement `json:"oauth,omitempty"`
// +listType=set
// +kubebuilder:validation:MaxItems=256
// +kubebuilder:validation:items:MaxLength=49
// +kubebuilder:validation:items:Pattern="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
// +optional
Callers []string `` /* 130-byte string literal not displayed */
}
+mapType=atomic
func (AccessRule) Scopes ¶
func (rule AccessRule) Scopes() []string
type AccountManagement ¶
type AccountManagement struct {
ProfileURL string `json:"profileURL,omitempty"`
SecurityURL string `json:"securityURL,omitempty"`
SessionsURL string `json:"sessionsURL,omitempty"`
}
AccountManagement contains provider-owned self-service pages. Omitted links mean that the provider does not advertise that capability.
type App ¶
type App struct {
// +optional
Icons []Icon `json:"icons,omitempty"`
// +kubebuilder:validation:MaxLength=2048
// +optional
Mount string `json:"mount,omitempty"`
// +optional
Release *Release `json:"release,omitempty"`
// +optional
OAuth *OAuthClient `json:"oauth,omitempty"`
// +optional
Remote *Remote `json:"remote,omitempty"`
Access *AppAccess `json:"access" nullable:"false" required:"true"`
// +kubebuilder:validation:MaxLength=49
// +kubebuilder:validation:Pattern="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
Name string `json:"name" maxLength:"49" pattern:"^[a-z0-9]([-a-z0-9]*[a-z0-9])?$" required:"true"`
// +kubebuilder:validation:MaxLength=2048
// +kubebuilder:validation:Pattern="@sha256:[0-9a-f]{64}$"
// +optional
Image string `json:"image,omitempty" pattern:"@sha256:[0-9a-f]{64}$"`
// +kubebuilder:validation:Minimum=1
// +kubebuilder:validation:Maximum=65535
// +optional
Port int32 `json:"port,omitempty" maximum:"65535" minimum:"1"`
// Args replace the image's command arguments. Each entry is one argument, a template over the app's inputs: the
// container receives an entry only when every input it names has a value.
// +kubebuilder:validation:MaxItems=64
// +optional
Args []Template `json:"args,omitempty" maxItems:"64"`
// +listType=set
// +kubebuilder:validation:items:MaxLength=49
// +kubebuilder:validation:items:Pattern="^[a-z0-9]([-a-z0-9]*[a-z0-9])?$"
// +optional
Requires []string `json:"requires,omitempty"`
// +optional
Egress Egress `json:"egress,omitzero"`
// +kubebuilder:validation:MaxProperties=64
// +kubebuilder:validation:XValidation:rule="!('HOLON_MCP_RUNTIME_CONFIG' in self) && !('HOLON_HOOK_CONFIG' in self)",message="Holon runtime configuration is reserved for the controller"
// +optional
Env map[string]Input `json:"env,omitempty"`
// EnvTemplates sets environment variables from templates over the app's inputs. A variable is set only when every
// input its template names has a value.
// +kubebuilder:validation:MaxProperties=64
// +optional
EnvTemplates map[string]Template `json:"envTemplates,omitempty"`
// +kubebuilder:validation:MaxProperties=64
// +optional
Applied map[string]ConfigRevision `json:"applied,omitempty"`
// Overlay is the digest of a development app's server source, a blob in the app's upload repository.
// +kubebuilder:validation:Pattern="^sha256:[0-9a-f]{64}$"
// +optional
Overlay string `json:"overlay,omitempty" pattern:"^sha256:[0-9a-f]{64}$"`
}
+kubebuilder:validation:XValidation:rule="has(self.remote) ? (!has(self.image) && !has(self.port)) : (has(self.image) && has(self.port))",message="apps require either a remote endpoint or an image and port"
func WritableApps ¶
func (*App) UnmarshalJSON ¶
type AppAccess ¶
type AppAccess struct {
Server *AccessRule `` /* 163-byte string literal not displayed */
// +nullable
// +kubebuilder:validation:MaxProperties=256
// +optional
Tools map[string]AccessRule `description:"Tool rules replace the server rule." json:"tools,omitempty" maxProperties:"256"`
}
func (*AppAccess) UnmarshalJSON ¶
type AppBuildRef ¶
type AppEgressPolicy ¶
type AppEgressPolicy struct {
Allow Egress `` /* 157-byte string literal not displayed */
}
AppEgressPolicy is the installation's egress ceiling for one app.
type AppRequest ¶
type AppRequest struct {
SessionRequest
Environment string `json:"environment,omitempty"`
App string `json:"app,omitempty"`
}
AppRequest selects a deployment and optionally one of its apps.
type AppsRequestFor ¶
type AppsRequestFor[A any] struct { RequestID string `json:"requestId,omitempty"` TTLSeconds *int64 `json:"ttlSeconds,omitempty" maximum:"86400" minimum:"1"` Apps []A `json:"apps" minItems:"1" nullable:"false" required:"true"` }
func (*AppsRequestFor[A]) UnmarshalJSON ¶
func (input *AppsRequestFor[A]) UnmarshalJSON(data []byte) error
type AuthorizeLifecycleRequest ¶
type AuthorizeLifecycleRequest struct {
SessionRequest
Operation string `json:"operation"`
AccessToken string `json:"accessToken,omitempty"`
}
type BuildRecord ¶
type BuildRecord struct {
SchemaVersion int `json:"schemaVersion"`
AppName string `json:"appName"`
ServerName string `json:"serverName,omitempty"`
ServerVersion string `json:"serverVersion,omitempty"`
Title string `json:"title,omitempty"`
Description string `json:"description,omitempty"`
Runtime BuildRuntime `json:"runtime"`
UnsupportedReasons []string `json:"unsupportedReasons"`
}
func (BuildRecord) Validate ¶
func (r BuildRecord) Validate() error
type BuildRuntime ¶
type BuildRuntime struct {
Icons []Icon `json:"icons,omitempty"`
Port int32 `json:"port"`
Args []Template `json:"args,omitempty"`
Env map[string]Input `json:"env,omitempty"`
EnvTemplates map[string]Template `json:"envTemplates,omitempty"`
Requires []string `json:"requires,omitempty"`
Egress Egress `json:"egress,omitzero"`
}
type ConfigRevision ¶
type ConfigRevision = string
+kubebuilder:validation:Pattern="^v-[0-9a-f]{24}$"
type ConfigValue ¶
type ConfigValues ¶
type ConfigValues struct {
Values []ConfigValue `json:"values" nullable:"false" required:"true"`
}
type DeleteSessionRequest ¶
type DeleteSessionRequest struct {
SessionRequest
ExpectedRevision string `json:"expectedRevision"`
SkipHooks bool `json:"skipHooks,omitempty"`
}
type DeleteSessionResultFor ¶
type Egress ¶
type Egress []EgressDestination
+listType=atomic
func (*Egress) UnmarshalJSON ¶
type EgressDestination ¶
type EgressDestination struct {
Host Template `description:"Exact DNS hostname or unicast IP address; {NAME} stands for a non-secret input." json:"host" required:"true"`
// +kubebuilder:validation:MinItems=1
// +listType=set
// +kubebuilder:validation:items:Minimum=1
// +kubebuilder:validation:items:Maximum=65535
Ports []int32 `` /* 139-byte string literal not displayed */
}
type EgressRequest ¶
type EgressRequest struct {
App string `json:"app"`
}
type EgressResponse ¶
type EgressResponse struct {
AppEgressPolicy
Revision string `json:"revision"`
App string `json:"app"`
Status EgressStatus `json:"status"`
}
EgressResponse combines the declared policy with its observed status.
type EgressStatus ¶
type EgressStatus struct {
Reconciled bool `json:"reconciled"`
RolloutComplete bool `json:"rolloutComplete"`
Targets int `json:"targets"`
Pending int `json:"pending"`
Degraded bool `json:"degraded"`
Message string `json:"message,omitempty"`
}
EgressStatus reports asynchronous policy reconciliation and rollout.
type Error ¶
type Error struct {
LoginURL string `json:"loginUrl,omitempty"`
Code string `json:"code"`
Message string `json:"message"`
}
Error contains a stable machine-readable code and a human-readable message.
type ErrorResponse ¶
type ErrorResponse struct {
Error Error `json:"error"`
}
ErrorResponse is the control-plane error envelope.
type GetImportRequest ¶
type GetImportRequest struct {
ID string `json:"id" required:"true"`
}
type Hook ¶
type HookInvocation ¶
type Icon ¶
type Icon struct {
Source string `json:"src"`
MIMEType string `json:"mimeType,omitempty"`
Sizes []string `json:"sizes,omitempty"`
Theme string `json:"theme,omitempty"`
}
Icon is the MCP icon object shared by server descriptors and app declarations.
type Import ¶
type Import struct {
ID string `json:"id"`
Phase string `json:"phase"`
Message string `json:"message,omitempty"`
Build *AppBuildRef `json:"build,omitempty"`
}
type ImportRegistryPackageRequest ¶
type ImportRegistryPackageRequest struct {
App string `json:"app" required:"true"`
Registry RegistrySource `json:"registry" required:"true"`
}
type Info ¶
type Info struct {
Installation InstallationReference `json:"installation"`
OAuth *OAuthInfo `json:"oauth"`
Version string `json:"version"`
ImageRepositoryPrefix string `json:"imageRepositoryPrefix,omitempty"`
BuildArchitectures []string `json:"buildArchitectures,omitempty"`
}
Info describes installation capabilities. OAuth is present and null when identity is disabled.
func (*Info) UnmarshalJSON ¶
type Input ¶
type Input struct {
// +nullable
// +optional
IsRequired bool `json:"isRequired,omitempty"`
// +nullable
// +optional
IsSecret bool `json:"isSecret,omitempty"`
// +nullable
// +kubebuilder:validation:Pattern="^[^\\x00\\r\\n]*$"
// +optional
Value *string `json:"value,omitempty"`
// +nullable
// +kubebuilder:validation:Pattern="^[^\\x00\\r\\n]*$"
// +optional
Default *string `json:"default,omitempty"`
}
+kubebuilder:validation:XValidation:rule="!(has(self.value) && has(self.default))",message="input cannot declare both value and default" +kubebuilder:validation:XValidation:rule="!has(self.isSecret) || !self.isSecret || (!has(self.value) && !has(self.default))",message="secret inputs must use the secret store" +mapType=atomic
func (*Input) UnmarshalJSON ¶
type InstallationReference ¶
type InstallationReference struct {
Origin string `json:"origin" minLength:"1" required:"true"`
UID string `json:"uid" maxLength:"128" minLength:"1" required:"true"`
}
func (InstallationReference) Validate ¶
func (p InstallationReference) Validate() error
type InstalledRelease ¶
type LifecycleOperation ¶
type LifecycleStatus ¶
type LifecycleStatus struct {
App string `json:"app,omitempty"`
Hook string `json:"hook,omitempty"`
ReadyApps []string `json:"readyApps,omitempty"`
ID string `json:"id"`
Phase string `json:"phase"`
Step int64 `json:"step"`
Attempt int64 `json:"attempt"`
Retry int64 `json:"retry,omitempty"`
Job string `json:"job,omitempty"`
JobUID string `json:"jobUID,omitempty"`
Deadline string `json:"deadline,omitempty"`
Message string `json:"message,omitempty"`
}
type OAuthClient ¶
type OAuthClient struct {
// ClientID is a template whose placeholders each name a required config input. Env may declare that input only as
// a non-secret one without a value or default, and a placeholder never names the ClientSecret key.
// +kubebuilder:validation:MaxLength=1024
// +kubebuilder:validation:Pattern="^[^\\x00\\r\\n]+$"
ClientID string `json:"clientID" required:"true"`
// +kubebuilder:validation:Pattern="^[A-Za-z_][A-Za-z0-9_]*$"
// +optional
ClientSecret InputName `json:"clientSecret,omitempty"`
}
+mapType=atomic
func (*OAuthClient) Inputs ¶
func (c *OAuthClient) Inputs() map[string]Input
type OAuthInfo ¶
type OAuthInfo struct {
Issuer string `json:"issuer"`
AdminAudience string `json:"adminAudience"`
CLIClientID string `json:"cliClientID"`
AccountManagement *AccountManagement `json:"accountManagement,omitempty"`
PeopleManagement bool `json:"peopleManagement,omitempty"`
}
OAuthInfo supplies the issuer, audience and client settings for control-plane authentication.
type OAuthRequirement ¶
type OAuthRequirement struct {
// +listType=set
// +kubebuilder:validation:items:MinLength=1
// +kubebuilder:validation:items:MaxLength=256
// +kubebuilder:validation:items:Pattern="^[\\x21\\x23-\\x5B\\x5D-\\x7E]+$"
// +optional
Scopes []string `` /* 137-byte string literal not displayed */
}
type PackageSelection ¶
type RegistryHeader ¶
type RegistryRef ¶
type RegistryRef struct {
Name string `description:"MCP Registry server identity in namespace/name form." json:"name" required:"true"`
Version string `description:"Exact server version; ranges and latest are unsupported." json:"version" required:"true"`
Registry string `description:"Registry URL; defaults to https://registry.modelcontextprotocol.io." json:"registry,omitempty"`
}
func (RegistryRef) RegistryURL ¶
func (r RegistryRef) RegistryURL() string
func (RegistryRef) Validate ¶
func (r RegistryRef) Validate() error
The Registry resolves latest to whichever version is current, so a pin must name the version.
type RegistrySource ¶
type RegistrySource struct {
RegistryRef
Package *PackageSelection `json:"package,omitempty"`
Remote *struct{} `json:"remote,omitempty"`
}
type Remote ¶
type Remote struct {
// URL is a template over the app's inputs.
// +kubebuilder:validation:MaxLength=2048
// +kubebuilder:validation:XValidation:rule="self.startsWith('https://')",message="remote endpoints must use HTTPS"
URL string `json:"url" required:"true"`
// Headers maps each header name to a template over the app's inputs. A header is sent only when every input its
// template names has a value.
// +kubebuilder:validation:MaxProperties=64
// +optional
Headers map[string]Template `json:"headers,omitempty"`
}
+mapType=atomic
type ResolvedAppBuild ¶
type ResolvedAppBuild struct {
AppBuildRef
BuildRecord
Image string `json:"image,omitempty"`
}
type RetryLifecycleRequest ¶
type RetryLifecycleRequest struct {
SessionRequest
Operation string `json:"operation"`
ExpectedRevision string `json:"expectedRevision"`
}
type SessionEndpoint ¶
type SessionLogsRequest ¶
type SessionLogsRequest struct {
AppRequest
Operation string `json:"operation,omitempty"` // lifecycle operation ID
Hook string `json:"hook,omitempty"` // lifecycle hook key
Attempt *int64 `json:"attempt,omitempty"` // lifecycle attempt, from 1
Event string `json:"event,omitempty"` // record event name, such as MCPCallEvent
Tool string `json:"tool,omitempty"` // a completion record's MCP tool
Status string `json:"status,omitempty"` // a completion record's outcome: ok or error
Since string `json:"since,omitempty"` // duration or RFC 3339; default 15m
TraceID string `json:"traceId,omitempty"` // records for one trace
Text string `json:"text,omitempty"` // substring filter
}
SessionLogsRequest selects collected records: app stdout and stderr, lifecycle hook output and MCP completion records. An empty App means every app.
type SessionRequest ¶
type SessionRequest struct {
Session string `json:"session"`
}
type SessionResponse ¶
type SessionResponse struct {
Operation *LifecycleOperation `json:"operation,omitempty"`
Lifecycle *LifecycleStatus `json:"lifecycle,omitempty"`
Releases []InstalledRelease `json:"releases,omitempty"`
Detached bool `json:"detached,omitempty"`
BuildArchitectures []string `json:"buildArchitectures,omitempty"`
UID string `json:"uid"`
Apps []App `json:"apps"`
Generation int64 `json:"generation,omitempty"`
Name string `json:"name"`
Endpoints []SessionEndpoint `json:"endpoints"`
Conditions []Condition `json:"conditions"`
ExpiresAt string `json:"expiresAt,omitempty"`
Revision string `json:"revision"`
}
func (SessionResponse) Condition ¶
func (session SessionResponse) Condition(kind string) Condition
type SetEgressRequest ¶
type SetEgressRequest struct {
EgressRequest
WritePrecondition
Policy AppEgressPolicy `json:"policy"`
}
type SetValueRequest ¶
type SetValueRequest struct {
VariableRequest
Value string `json:"value"`
Note string `json:"note,omitempty" maxLength:"256"`
}
type Template ¶
type Template = string
+kubebuilder:validation:MaxLength=4096 +kubebuilder:validation:Pattern="^[^\\x00\\r\\n]*$"
type UpdateSessionRequestFor ¶
type UpdateSessionRequestFor[Desired any] struct { SessionRequest WritePrecondition Desired Desired `json:"desired"` Remove []string `description:"App names to delete from the session." json:"remove,omitempty"` }
type UploadGrant ¶
type UploadGrant struct {
Grant string `json:"grant"`
Registry string `json:"registry"`
Repositories map[string]string `json:"repositories"`
ExpiresAt string `json:"expiresAt"`
}
UploadGrant authorizes image uploads. Treat the grant as a credential until expiry.
type UploadRequest ¶
type UploadRequest struct {
Apps []string `json:"apps" minItems:"1" nullable:"false" required:"true"`
}
UploadRequest asks for repository upload authority for named apps.
type VariableRequest ¶
type WritePrecondition ¶
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
conformance
Package conformance tests a live issuer and adapter against the rules of package profile.
|
Package conformance tests a live issuer and adapter against the rules of package profile. |
|
invitation
Package invitation defines Holon's invitation operation.
|
Package invitation defines Holon's invitation operation. |
|
profile
Package profile states what Holon requires of an identity backend, so a backend is built against the standards and not against one provider.
|
Package profile states what Holon requires of an identity backend, so a backend is built against the standards and not against one provider. |
|
scim
Package scim is the part of SCIM 2.0 Holon needs from an identity backend: users, the groups that stand for permission sets, and what the backend can do.
|
Package scim is the part of SCIM 2.0 Holon needs from an identity backend: users, the groups that stand for permission sets, and what the backend can do. |