Documentation
¶
Index ¶
Constants ¶
View Source
const (
Flag = "attribute"
)
Variables ¶
This section is empty.
Functions ¶
func ToArgs ¶
func ToArgs(attributes Attributes) ([]string, error)
ToArgs is a helper func to convert an pod.Attributes to a list of args that can be put into a Pod Template
Types ¶
type Attributes ¶
type Attributes struct { UserDefined map[string]string `json:"-"` PodInfo `json:",inline"` WorkloadInfo `json:",inline"` ClusterInfo `json:",inline"` }
func ParseAttributes ¶
func ParseAttributes(rawAttributes []string) (Attributes, error)
type ClusterInfo ¶
type WorkloadInfo ¶
Click to show internal directories.
Click to hide internal directories.