Skip to content

Class: Resource

Abstract base class for K8TRE resources (such as applications or services) that can be deployed through a Cr8tor project. This class defines the state and configuration of deployable resources.

URI: cr8tor_metamodel:Resource

classDiagram class Resource click Resource href "../Resource/" Resource <|-- Jupyter click Jupyter href "../Jupyter/" Resource <|-- Keycloak click Keycloak href "../Keycloak/" Resource <|-- VDI click VDI href "../VDI/" Resource <|-- RStudio click RStudio href "../RStudio/" Resource <|-- Gitea click Gitea href "../Gitea/" Resource : enabled Resource : name Resource : resource_type Resource : url

Inheritance

Slots

Name Cardinality and Range Description Inheritance
resource_type 1
String
The type of resource (e direct
name 1
String
The requested name of the resource, used for identification and management wi... direct
url 1
Uri
The URL endpoint for accessing the application or resource after deployment direct
enabled 1
Boolean
Boolean flag indicating whether the application or resource is enabled and av... direct

Usages

used by used in type used
Deployment resources range Resource
ProjectSpec resources range Resource

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/karectl-crates/cr8tor-metamodel

Mappings

Mapping Type Mapped Value
self cr8tor_metamodel:Resource
native cr8tor_metamodel:Resource

LinkML Source

Direct

name: Resource
description: Abstract base class for K8TRE resources (such as applications or services)
  that can be deployed through a Cr8tor project. This class defines the state and
  configuration of deployable resources.
from_schema: https://w3id.org/karectl-crates/cr8tor-metamodel
slots:
- resource_type
attributes:
  name:
    name: name
    description: The requested name of the resource, used for identification and management
      within the deployment.
    from_schema: https://w3id.org/karectl-crates/deployment-model
    domain_of:
    - Project
    - Action
    - Source
    - Dataset
    - Table
    - Column
    - Resource
    - Environment
    - KeycloakClientConfig
    - SecretRef
    - ProtocolMapper
    - EnvironmentVariable
    range: string
    required: true
  url:
    name: url
    description: The URL endpoint for accessing the application or resource after
      deployment.
    from_schema: https://w3id.org/karectl-crates/deployment-model
    domain_of:
    - Source
    - Destination
    - Resource
    - VDI
    range: uri
    required: true
  enabled:
    name: enabled
    description: Boolean flag indicating whether the application or resource is enabled
      and available for use.
    from_schema: https://w3id.org/karectl-crates/deployment-model
    domain_of:
    - User
    - Resource
    - KeycloakClientConfig
    range: boolean
    required: true

Induced

name: Resource
description: Abstract base class for K8TRE resources (such as applications or services)
  that can be deployed through a Cr8tor project. This class defines the state and
  configuration of deployable resources.
from_schema: https://w3id.org/karectl-crates/cr8tor-metamodel
attributes:
  name:
    name: name
    description: The requested name of the resource, used for identification and management
      within the deployment.
    from_schema: https://w3id.org/karectl-crates/deployment-model
    alias: name
    owner: Resource
    domain_of:
    - Project
    - Action
    - Source
    - Dataset
    - Table
    - Column
    - Resource
    - Environment
    - KeycloakClientConfig
    - SecretRef
    - ProtocolMapper
    - EnvironmentVariable
    range: string
    required: true
  url:
    name: url
    description: The URL endpoint for accessing the application or resource after
      deployment.
    from_schema: https://w3id.org/karectl-crates/deployment-model
    alias: url
    owner: Resource
    domain_of:
    - Source
    - Destination
    - Resource
    - VDI
    range: uri
    required: true
  enabled:
    name: enabled
    description: Boolean flag indicating whether the application or resource is enabled
      and available for use.
    from_schema: https://w3id.org/karectl-crates/deployment-model
    alias: enabled
    owner: Resource
    domain_of:
    - User
    - Resource
    - KeycloakClientConfig
    range: boolean
    required: true
  resource_type:
    name: resource_type
    description: The type of resource (e.g., Jupyter, Keycloak, VDI).
    from_schema: https://w3id.org/karectl-crates/cr8tor-metamodel
    rank: 1000
    designates_type: true
    alias: resource_type
    owner: Resource
    domain_of:
    - Resource
    range: string
    required: true