Documentation
¶
Index ¶
- type Cell
- type CellMetadata
- type CellSpec
- type CellState
- type CellStatus
- type Container
- type ContainerMetadata
- type ContainerSpec
- type ContainerState
- type ContainerStatus
- type Realm
- type RealmMetadata
- type RealmSpec
- type RealmState
- type RealmStatus
- type RegistryCredentials
- type Space
- type SpaceMetadata
- type SpaceSpec
- type SpaceState
- type SpaceStatus
- type Stack
- type StackMetadata
- type StackSpec
- type StackState
- type StackStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cell ¶
type Cell struct {
Metadata CellMetadata
Spec CellSpec
Status CellStatus
}
type CellMetadata ¶
type CellStatus ¶
type CellStatus struct {
State CellState
CgroupPath string
Containers []ContainerStatus
}
type Container ¶
type Container struct {
Metadata ContainerMetadata
Spec ContainerSpec
Status ContainerStatus
}
type ContainerMetadata ¶
type ContainerSpec ¶
type ContainerSpec struct {
ID string
ContainerdID string
RealmName string
SpaceName string
StackName string
CellName string
Root bool
Image string
Command string
Args []string
Env []string
Ports []string
Volumes []string
Networks []string
NetworksAliases []string
Privileged bool
CNIConfigPath string
RestartPolicy string
}
type ContainerState ¶
type ContainerState int
const ( ContainerStatePending ContainerState = iota ContainerStateReady ContainerStateStopped ContainerStatePaused ContainerStatePausing ContainerStateFailed ContainerStateUnknown )
type ContainerStatus ¶
type Realm ¶
type Realm struct {
Metadata RealmMetadata
Spec RealmSpec
Status RealmStatus
}
type RealmMetadata ¶
type RealmSpec ¶
type RealmSpec struct {
Namespace string
RegistryCredentials []RegistryCredentials
}
type RealmState ¶
type RealmState int
const ( RealmStatePending RealmState = iota RealmStateCreating RealmStateReady RealmStateDeleting RealmStateFailed RealmStateUnknown )
type RealmStatus ¶
type RealmStatus struct {
State RealmState
CgroupPath string
}
type RegistryCredentials ¶
type RegistryCredentials struct {
// Username is the registry username.
Username string
// Password is the registry password or token.
Password string
// ServerAddress is the registry server address (e.g., "docker.io", "registry.example.com").
// If empty, credentials apply to the registry extracted from the image reference.
ServerAddress string
}
RegistryCredentials contains authentication information for a container registry.
type Space ¶
type Space struct {
Metadata SpaceMetadata
Spec SpaceSpec
Status SpaceStatus
}
type SpaceMetadata ¶
type SpaceState ¶
type SpaceState int
const ( SpaceStatePending SpaceState = iota SpaceStateCreating SpaceStateReady SpaceStateDeleting SpaceStateFailed SpaceStateUnknown )
type SpaceStatus ¶
type SpaceStatus struct {
State SpaceState
CgroupPath string
}
type Stack ¶
type Stack struct {
Metadata StackMetadata
Spec StackSpec
Status StackStatus
}
type StackMetadata ¶
type StackState ¶
type StackState int
const ( StackStatePending StackState = iota StackStateReady StackStateFailed StackStateUnknown )
type StackStatus ¶
type StackStatus struct {
State StackState
CgroupPath string
}
Click to show internal directories.
Click to hide internal directories.