Documentation ¶
Index ¶
- type Cluster
- func (c *Cluster) Allocate(ctx context.Context, req reflow.Requirements, labels pool.Labels) (pool.Alloc, error)
- func (c *Cluster) CanAllocate(r reflow.Resources) (bool, error)
- func (r *Cluster) Flags(flags *flag.FlagSet)
- func (c *Cluster) GetName() string
- func (c *Cluster) Init() error
- func (c *Cluster) MaxAlloc() reflow.Resources
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
*ec2cluster.Cluster
}
Cluster is a fake cluster infra provider and should be used only in tests.
func (*Cluster) Allocate ¶
func (c *Cluster) Allocate(ctx context.Context, req reflow.Requirements, labels pool.Labels) (pool.Alloc, error)
Allocate is a no op.
Click to show internal directories.
Click to hide internal directories.