Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type K8sPlugin ¶
type K8sPlugin interface {
Name() string
IsRelevant(pod *v1.Pod) bool
PreFilter(ctx context.Context, pod *v1.Pod, state State) (error, bool)
Filter(ctx context.Context, pod *v1.Pod, node *v1.Node, state State) error
Allocate(ctx context.Context, pod *v1.Pod, hostname string, state State) error
Bind(ctx context.Context, pod *v1.Pod, request *v1alpha2.BindRequest, state State) error
PostBind(ctx context.Context, pod *v1.Pod, hostname string, state State)
UnAllocate(ctx context.Context, pod *v1.Pod, hostname string, state State)
}
Click to show internal directories.
Click to hide internal directories.