package
Version:
v0.0.13
Opens a new window with list of versions in this module.
Published: Aug 21, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Container struct {
Image string `json:"image,omitempty"`
Name string `json:"name,omitempty"`
Env []Env `json:"env,omitempty"`
ImagePullPolicy string `json:"imagePullPolicy,omitempty"`
Resources Resources `json:"resources,omitempty"`
}
type Env struct {
Name string `json:"name"`
Value string `json:"value"`
}
type Limits struct {
Cpu string `json:"cpu,omitempty"`
}
type Node struct {
RequireAll []string `json:"requireAll,omitempty"`
}
type Request struct {
Name string `json:"name,omitempty"`
NamespaceId string `json:"namespaceId,omitempty"`
Containers []Container `json:"containers,omitempty"`
Labels map[string]string `json:"labels,omitempty"`
Selector Selector `json:"selector,omitempty"`
Scheduling Scheduling `json:"scheduling,omitempty"`
}
type Resources struct {
Limits Limits `json:"limits,omitempty"`
}
type Scheduling struct {
Node Node `json:"node,omitempty"`
Scheduler string `json:"scheduler,omitempty"`
}
type Selector struct {
MatchLabels map[string]string `json:"matchLabels,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.