kind: sigs.k8s.io/kind/pkg/cluster/internal/providers/docker Index | Files

package docker

import "sigs.k8s.io/kind/pkg/cluster/internal/providers/docker"

Index

Package Files

constants.go images.go node.go provider.go provision.go util.go

func NewProvider Uses

func NewProvider(logger log.Logger) provider.Provider

NewProvider returns a new provider based on executing `docker ...`

type Provider Uses

type Provider struct {
    // contains filtered or unexported fields
}

Provider implements provider.Provider see NewProvider

func (*Provider) CollectLogs Uses

func (p *Provider) CollectLogs(dir string, nodes []nodes.Node) error

CollectLogs will populate dir with cluster logs and other debug files

func (*Provider) DeleteNodes Uses

func (p *Provider) DeleteNodes(n []nodes.Node) error

DeleteNodes is part of the providers.Provider interface

func (*Provider) GetAPIServerEndpoint Uses

func (p *Provider) GetAPIServerEndpoint(cluster string) (string, error)

GetAPIServerEndpoint is part of the providers.Provider interface

func (*Provider) ListClusters Uses

func (p *Provider) ListClusters() ([]string, error)

ListClusters is part of the providers.Provider interface

func (*Provider) ListNodes Uses

func (p *Provider) ListNodes(cluster string) ([]nodes.Node, error)

ListNodes is part of the providers.Provider interface

func (*Provider) Provision Uses

func (p *Provider) Provision(status *cli.Status, cluster string, cfg *config.Cluster) (err error)

Provision is part of the providers.Provider interface

Package docker imports 19 packages (graph) and is imported by 3 packages. Updated 2020-02-18. Refresh now. Tools for package owners.