models

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2025 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockStore

type BlockStore struct {
	StoreID       uuid.UUID `json:"store_id"`
	Name          string    `json:"name"`
	AccessPointID string    `json:"access_point_id"`
	MountPoint    string    `json:"mount_point"`
}

BlockStore represents a block storage entry with related metadata.

type ObjectStore

type ObjectStore struct {
	StoreID        uuid.UUID `json:"store_id"`
	Name           string    `json:"name"`
	Bucket         string    `json:"bucket"`
	Prefix         string    `json:"prefix"`
	Host           string    `json:"host"`
	EnvVar         string    `json:"env_var"`
	AccessPointArn string    `json:"access_point_arn"`
	AccessURL      string    `json:"access_url"`
}

ObjectStore represents an object storage entry with related metadata.

type Stores

type Stores struct {
	Object []ObjectStore `json:"object"`
	Block  []BlockStore  `json:"block"`
}

Stores holds lists of object and block stores associated with a workspace.

type WorkspaceSettings

type WorkspaceSettings struct {
	ID          uuid.UUID `json:"id"`
	Name        string    `json:"name"`
	Account     uuid.UUID `json:"account"`
	Owner       string    `json:"owner"`
	Status      string    `json:"status"`
	Stores      *[]Stores `json:"stores"`
	LastUpdated time.Time `json:"last_updated"`
}

WorkspaceSettings represents the configuration of a workspace.

type WorkspaceStatus

type WorkspaceStatus struct {
	Name        string                      `json:"name"`
	Namespace   string                      `json:"namespace"`
	AWS         workspacev1alpha1.AWSStatus `json:"status"`
	LastUpdated time.Time                   `json:"last_updated"`
	State       string                      `json:"state"`
}

WorkspaceStatus represents the status of a Workspace

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL