Documentation ¶
Index ¶
- type Deployment
- type DeploymentAction
- type Job
- type JobAction
- type Namespace
- type NamespaceAction
- type Node
- type NodeAction
- type Pod
- type PodAction
- type Service
- type ServiceAction
- type StatefulSet
- type StatefulSetAction
- type Store
- func (i *Store) InformerDeployments() DeploymentAction
- func (i *Store) InformerJobs() JobAction
- func (i *Store) InformerNamespaces() NamespaceAction
- func (i *Store) InformerNodes() NodeAction
- func (i *Store) InformerPods() PodAction
- func (i *Store) InformerServices() ServiceAction
- func (i *Store) InformerStatefulSets() StatefulSetAction
- type Storer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deployment ¶
type Deployment interface {
InformerDeployments() DeploymentAction
}
type DeploymentAction ¶
type DeploymentAction interface { List(ctx context.Context, options meta.ListOptions) ([]*v1.Deployment, error) Get(ctx context.Context, options meta.GetOptions) (*v1.Deployment, error) }
type Namespace ¶
type Namespace interface {
InformerNamespaces() NamespaceAction
}
type NamespaceAction ¶
type Node ¶
type Node interface {
InformerNodes() NodeAction
}
type NodeAction ¶
type Service ¶
type Service interface {
InformerServices() ServiceAction
}
type ServiceAction ¶
type StatefulSet ¶
type StatefulSet interface {
InformerStatefulSets() StatefulSetAction
}
type StatefulSetAction ¶
type StatefulSetAction interface { List(ctx context.Context, options meta.ListOptions) ([]*v1.StatefulSet, error) Get(ctx context.Context, options meta.GetOptions) (*v1.StatefulSet, error) }
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func NewInformerStore ¶
func NewInformerStore(stopCh <-chan struct{}, clients kubernetes.Interface) (*Store, error)
func (*Store) InformerDeployments ¶
func (i *Store) InformerDeployments() DeploymentAction
func (*Store) InformerJobs ¶
func (*Store) InformerNamespaces ¶
func (i *Store) InformerNamespaces() NamespaceAction
func (*Store) InformerNodes ¶
func (i *Store) InformerNodes() NodeAction
func (*Store) InformerPods ¶
func (*Store) InformerServices ¶
func (i *Store) InformerServices() ServiceAction
func (*Store) InformerStatefulSets ¶
func (i *Store) InformerStatefulSets() StatefulSetAction
type Storer ¶
type Storer interface { Pod Deployment Service StatefulSet Job Node Namespace }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.