Documentation ¶
Index ¶
- Constants
- func StartCluster(t *testing.T, ctx context.Context) (*kubernetes.Clientset, error)
- type KwokCloudProvider
- func (k KwokCloudProvider) CreateNode(ctx context.Context, name string) error
- func (p KwokCloudProvider) PrepareTermination(ctx context.Context, cloudProviderNodeId string) (string, error)
- func (p KwokCloudProvider) TerminateNode(ctx context.Context, cloudProviderNodeId string) (string, error)
- func (p KwokCloudProvider) ValidateConfig() error
Constants ¶
View Source
const ( KwokImage = "registry.k8s.io/kwok/cluster:v0.2.0-k8s.v1.27.1" KwokPort = "8080" )
Variables ¶
This section is empty.
Functions ¶
func StartCluster ¶
Types ¶
type KwokCloudProvider ¶
type KwokCloudProvider struct {
K8sClient kubernetes.Interface
}
func CreateCloudProvider ¶
func (KwokCloudProvider) CreateNode ¶
func (k KwokCloudProvider) CreateNode(ctx context.Context, name string) error
func (KwokCloudProvider) PrepareTermination ¶
func (KwokCloudProvider) TerminateNode ¶
func (KwokCloudProvider) ValidateConfig ¶
func (p KwokCloudProvider) ValidateConfig() error
Click to show internal directories.
Click to hide internal directories.