Documentation ¶
Index ¶
- func NodesFromContext(client *kubernetes.Clientset, ctx context.Context, key string) ([]corev1.Node, bool, error)
- type Factory
- func (f *Factory) CheckKnetStress() error
- func (f *Factory) CreateDaemonSet(filePath, namespace, name string) error
- func (f *Factory) Delete(resources *config.Resources) error
- func (f *Factory) DeletePodsOnNode(nodeName string) error
- func (f *Factory) DeleteResource(filePath, namespace string) error
- func (f *Factory) Has(resources *config.Resources) (bool, error)
- func (f *Factory) RollNode(dryrun bool, nodeName string, watchResources *config.Resources) error
- func (f *Factory) RunCommand(stdout io.Writer, args ...string) error
- func (f *Factory) WaitAllReady(resources *config.Resources) error
- func (f *Factory) WaitDaemonSetReady(namespace, name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Factory ¶
type Factory struct {
// contains filtered or unexported fields
}
func (*Factory) CheckKnetStress ¶
func (*Factory) CreateDaemonSet ¶
func (*Factory) DeletePodsOnNode ¶
func (*Factory) DeleteResource ¶
func (*Factory) WaitDaemonSetReady ¶
waitDaemonSetReadynamespace will wait for a all pods in a DaemonSet to become ready
Click to show internal directories.
Click to hide internal directories.