{"modulePath":"github.com/AliceO2Group/Control","version":"v1.51.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package common\n\nPackage common serves as a catch-all package for sharing types between O² Control components.\n\n## Functions\n\n```go\nfunc GetEnvironmentIdFromLabelerType(labeler Labeler) uid.ID\n```\n\n```go\nfunc GetValueFromLabelerType(labeler Labeler, key string) string\n```\n\n## Types\n\n```go\ntype CommandInfo struct {\n\tEnv       []string `json:\"env,omitempty\" yaml:\"env,omitempty\"`\n\tShell     *bool    `json:\"shell,omitempty\" yaml:\"shell,omitempty\"`\n\tValue     *string  `json:\"value,omitempty\" yaml:\"value,omitempty\"`\n\tUser      *string  `json:\"user,omitempty\" yaml:\"user,omitempty\"`\n\tArguments []string `json:\"arguments,omitempty\" yaml:\"arguments,omitempty\"`\n\tStdout    *string  `json:\"stdout,omitempty\" yaml:\"stdout,omitempty\"`\n\tStderr    *string  `json:\"stderr,omitempty\" yaml:\"stderr,omitempty\"`\n}\n```\n\n```go\nfunc (m *CommandInfo) Copy() *CommandInfo\n```\n\n```go\nfunc (m *CommandInfo) Equals(other *CommandInfo) (response bool)\n```\n\n```go\nfunc (m *CommandInfo) GetArguments() []string\n```\n\n```go\nfunc (m *CommandInfo) GetEnv() []string\n```\n\n```go\nfunc (m *CommandInfo) GetShell() bool\n```\n\n```go\nfunc (m *CommandInfo) GetUser() string\n```\n\n```go\nfunc (m *CommandInfo) GetValue() string\n```\n\n```go\nfunc (m *CommandInfo) Reset()\n```\n\n```go\nfunc (m *CommandInfo) UnmarshalYAML(unmarshal func(interface{}) error) (err error)\n```\n\n```go\nfunc (m *CommandInfo) UpdateFrom(n *CommandInfo)\n```\n\n```go\ntype Labeler interface {\n\tGetLabels() map[string]string\n}\n```\n\n```go\ntype LogTaskOutput int\n```\n\n```go\ntype TaskCommandInfo struct {\n\tCommandInfo\n\tControlPort uint64                  `json:\"controlPort\"`\n\tControlMode controlmode.ControlMode `json:\"controlMode\"`\n\n\t// Only applies to hooks and basic tasks\n\tTimeout time.Duration `json:\"timeout,omitempty\"`\n}\n```\n\n","path":"github.com/AliceO2Group/Control/common","name":"common","synopsis":"Package common serves as a catch-all package for sharing types between O² Control components.","isRedistributable":true}
