Documentation ¶
Index ¶
- func NewFilteringClient(socketPath string, debug bool, referenceContainer *ContainerIdent) (podresourcesapi.PodResourcesListerClient, error)
- func NewFilteringClientFromLister(cli podresourcesapi.PodResourcesListerClient, debug bool, ...) (podresourcesapi.PodResourcesListerClient, error)
- func NewK8SClient(socketPath string) (podresourcesapi.PodResourcesListerClient, error)
- type ContainerIdent
- type PodResourcesFilter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteringClient ¶
func NewFilteringClient(socketPath string, debug bool, referenceContainer *ContainerIdent) (podresourcesapi.PodResourcesListerClient, error)
func NewFilteringClientFromLister ¶
func NewFilteringClientFromLister(cli podresourcesapi.PodResourcesListerClient, debug bool, referenceContainer *ContainerIdent) (podresourcesapi.PodResourcesListerClient, error)
func NewK8SClient ¶
func NewK8SClient(socketPath string) (podresourcesapi.PodResourcesListerClient, error)
Types ¶
type ContainerIdent ¶
func ContainerIdentFromEnv ¶ added in v0.1.1
func ContainerIdentFromEnv() *ContainerIdent
func ContainerIdentFromString ¶ added in v0.1.1
func ContainerIdentFromString(ident string) (*ContainerIdent, error)
func (*ContainerIdent) IsEmpty ¶ added in v0.1.1
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.