Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainersTable ¶
type ContainersTable struct {
// contains filtered or unexported fields
}
ContainersTable implements the Table interface, Uses kubeclient to extract information about pods
func NewContainersTable ¶
func NewContainersTable(kubeclient kubernetes.Interface) *ContainersTable
NewContainersTable creates a new ContainersTable saves given initialized kubernetes client
func (*ContainersTable) Columns ¶
func (t *ContainersTable) Columns() []table.ColumnDefinition
Columns Retrieves the initialized columns
func (*ContainersTable) Generate ¶
func (t *ContainersTable) Generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error)
Generate uses the api to retrieve information on all pods
type DeploymentsTable ¶
type DeploymentsTable struct {
// contains filtered or unexported fields
}
DeploymentsTable implements the Table interface, Uses kubeclient to extract information about pods
func NewDeploymentsTable ¶
func NewDeploymentsTable(kubeclient kubernetes.Interface) *DeploymentsTable
NewDeploymentsTable creates a new DeploymentsTable saves given initialized kubernetes client
func (*DeploymentsTable) Columns ¶
func (t *DeploymentsTable) Columns() []table.ColumnDefinition
Columns Retrieves the initialized columns
func (*DeploymentsTable) Generate ¶
func (t *DeploymentsTable) Generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error)
Generate uses the api to retrieve information on all pods
type NodesTable ¶
type NodesTable struct {
// contains filtered or unexported fields
}
NodesTable implements the Table interface, Uses kubeclient to extract information about pods
func NewNodesTable ¶
func NewNodesTable(kubeclient kubernetes.Interface, mc metrics.Interface) *NodesTable
NewNodesTable creates a new NodesTable saves given initialized kubernetes client
func (*NodesTable) Columns ¶
func (t *NodesTable) Columns() []table.ColumnDefinition
Columns Retrieves the initialized columns
func (*NodesTable) Generate ¶
func (t *NodesTable) Generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error)
Generate uses the api to retrieve information on all pods
type PodsTable ¶
type PodsTable struct {
// contains filtered or unexported fields
}
PodsTable implements the Table interface, Uses kubeclient to extract information about pods
func NewPodsTable ¶
func NewPodsTable(kubeclient kubernetes.Interface) *PodsTable
NewPodsTable creates a new PodsTable saves given initialized kubernetes client
func (*PodsTable) Columns ¶
func (t *PodsTable) Columns() []table.ColumnDefinition
Columns Retrieves the initialized columns
type Table ¶
type Table interface { // TODO: change the return value of Genreate() to be map to inteface{} ? Generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error) Columns() []table.ColumnDefinition Name() string }
Table inteface defines the basic Table implementation mechanism for os-query
type VolumesTable ¶
type VolumesTable struct {
// contains filtered or unexported fields
}
VolumesTable implements the Table interface, Uses kubeclient to extract information about pods
func NewVolumesTable ¶
func NewVolumesTable(kubeclient kubernetes.Interface) *VolumesTable
NewVolumesTable creates a new VolumesTable saves given initialized kubernetes client
func (*VolumesTable) Columns ¶
func (t *VolumesTable) Columns() []table.ColumnDefinition
Columns Retrieves the initialized columns
func (*VolumesTable) Generate ¶
func (t *VolumesTable) Generate(ctx context.Context, queryContext table.QueryContext) ([]map[string]string, error)
Generate uses the api to retrieve information on all pods