informer

package
v0.0.0-...-805270c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

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 Job

type Job interface {
	InformerJobs() JobAction
}

type JobAction

type JobAction interface {
	List(ctx context.Context, options meta.ListOptions) ([]*batchv1.Job, error)
	Get(ctx context.Context, options meta.GetOptions) (*batchv1.Job, error)
}

type Namespace

type Namespace interface {
	InformerNamespaces() NamespaceAction
}

type NamespaceAction

type NamespaceAction interface {
	List(ctx context.Context) ([]*v1.Namespace, error)
}

type Node

type Node interface {
	InformerNodes() NodeAction
}

type NodeAction

type NodeAction interface {
	List(ctx context.Context, options meta.ListOptions) ([]*v1.Node, error)
	Get(ctx context.Context, options meta.GetOptions) (*v1.Node, error)
}

type Pod

type Pod interface {
	InformerPods() PodAction
}

type PodAction

type PodAction interface {
	List(ctx context.Context, options meta.ListOptions) ([]*v1.Pod, error)
	Get(ctx context.Context, options meta.GetOptions) (*v1.Pod, error)
}

type Service

type Service interface {
	InformerServices() ServiceAction
}

type ServiceAction

type ServiceAction interface {
	List(ctx context.Context, options meta.ListOptions) ([]*v1.Service, error)
	Get(ctx context.Context, options meta.GetOptions) (*v1.Service, error)
}

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 Get

func Get() *Store

func NewInformerStore

func NewInformerStore(stopCh <-chan struct{}, clients kubernetes.Interface) (*Store, error)

func (*Store) InformerDeployments

func (i *Store) InformerDeployments() DeploymentAction

func (*Store) InformerJobs

func (i *Store) InformerJobs() JobAction

func (*Store) InformerNamespaces

func (i *Store) InformerNamespaces() NamespaceAction

func (*Store) InformerNodes

func (i *Store) InformerNodes() NodeAction

func (*Store) InformerPods

func (i *Store) InformerPods() PodAction

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL