type endpoint …
type endpointImpl …
func newEndpointImpl(p plugin.DevicePlugin) *endpointImpl { … }
func newStoppedEndpointImpl(resourceName string) *endpointImpl { … }
func (e *endpointImpl) isStopped() bool { … }
func (e *endpointImpl) stopGracePeriodExpired() bool { … }
func (e *endpointImpl) setStopTime(t time.Time) { … }
func (e *endpointImpl) getPreferredAllocation(available, mustInclude []string, size int) (*pluginapi.PreferredAllocationResponse, error) { … }
func (e *endpointImpl) allocate(devs []string) (*pluginapi.AllocateResponse, error) { … }
func (e *endpointImpl) preStartContainer(devs []string) (*pluginapi.PreStartContainerResponse, error) { … }