Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailingPodStore ¶
type FailingPodStore struct { }
FailingPodStore partially implements the pkg/store/consul/podstore.Store interface, but all of its operations return errors. This is useful for testing the behavior of code that interacts with the pod store in failure scenarios
func NewFailingPodStore ¶
func NewFailingPodStore() FailingPodStore
func (FailingPodStore) Schedule ¶
func (FailingPodStore) Schedule(manifest.Manifest, types.NodeName) (types.PodUniqueKey, error)
func (FailingPodStore) Unschedule ¶
func (FailingPodStore) Unschedule(types.PodUniqueKey) error
Click to show internal directories.
Click to hide internal directories.