Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFromLister ¶
func NewFromLister(cli podresourcesapi.PodResourcesListerClient, debug bool, referenceContainer *ContainerIdent) podresourcesapi.PodResourcesListerClient
Types ¶
type ContainerIdent ¶
type ContainerIdent struct { Namespace string `json:"namespace"` PodName string `json:"podName"` ContainerName string `json:"containerName"` }
func ContainerIdentFromEnv ¶
func ContainerIdentFromEnv() *ContainerIdent
func ContainerIdentFromString ¶
func ContainerIdentFromString(ident string) (*ContainerIdent, error)
func (*ContainerIdent) Clone ¶ added in v0.17.0
func (ci *ContainerIdent) Clone() *ContainerIdent
func (*ContainerIdent) IsEmpty ¶
func (ci *ContainerIdent) IsEmpty() bool
func (*ContainerIdent) String ¶
func (ci *ContainerIdent) String() string
type PodResourcesFilter ¶
type PodResourcesFilter interface { FilterListResponse(resp *podresourcesapi.ListPodResourcesResponse) *podresourcesapi.ListPodResourcesResponse FilterAllocatableResponse(resp *podresourcesapi.AllocatableResourcesResponse) *podresourcesapi.AllocatableResourcesResponse }
Click to show internal directories.
Click to hide internal directories.