Documentation
¶
Index ¶
- func GetAppContainerName(appID, groupID int) string
- func GetDefaultLabels(appName, instanceName string, appID, groupID int) labels.Set
- func GetDefaultSelector(appID, groupID int) labels.Set
- func ManagedSelector() labels.Selector
- type Base
- func (b *Base) GetAppCPU() string
- func (b *Base) GetAppContainer() *corev1.Container
- func (b *Base) GetAppContainerName() string
- func (b *Base) GetAppImage() string
- func (b *Base) GetAppMemory() string
- func (b *Base) GetAppPort() int32
- func (b *Base) GetAppRequestCPU() string
- func (b *Base) GetAppRequestMemory() string
- func (b *Base) GetManagedSelector() labels.Selector
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAppContainerName ¶
func GetDefaultLabels ¶
func GetDefaultSelector ¶
func ManagedSelector ¶
Types ¶
type Base ¶
type Base struct {
Interface
}
Base is the base struct for all workload resource wrappers to provide some basic methods.
func (*Base) GetAppContainer ¶
func (*Base) GetAppContainerName ¶
func (*Base) GetAppImage ¶
func (*Base) GetAppMemory ¶
func (*Base) GetAppPort ¶
func (*Base) GetAppRequestCPU ¶
func (*Base) GetAppRequestMemory ¶
func (*Base) GetManagedSelector ¶
Click to show internal directories.
Click to hide internal directories.