Documentation ¶
Index ¶
- type KindClusterProvider
- func (k KindClusterProvider) Create(name string, opts clusterprovider.Options) error
- func (k KindClusterProvider) Delete(name string, opts clusterprovider.Options) error
- func (k KindClusterProvider) Get(spaceName string) (clusterprovider.SpaceInfo, error)
- func (k KindClusterProvider) ListSpaces() ([]clusterprovider.SpaceInfo, error)
- func (k KindClusterProvider) ListSpacesNames() ([]string, error)
- func (k KindClusterProvider) Watch() (clusterprovider.Watcher, error)
- type KindWatcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KindClusterProvider ¶
type KindClusterProvider struct {
// contains filtered or unexported fields
}
KindClusterProvider is a cluster provider that works with a local Kind instance.
func New ¶
func New(configStrs map[string]string) (KindClusterProvider, error)
New creates a new KindClusterProvider
func (KindClusterProvider) Create ¶
func (k KindClusterProvider) Create(name string, opts clusterprovider.Options) error
func (KindClusterProvider) Delete ¶
func (k KindClusterProvider) Delete(name string, opts clusterprovider.Options) error
func (KindClusterProvider) Get ¶
func (k KindClusterProvider) Get(spaceName string) (clusterprovider.SpaceInfo, error)
func (KindClusterProvider) ListSpaces ¶
func (k KindClusterProvider) ListSpaces() ([]clusterprovider.SpaceInfo, error)
func (KindClusterProvider) ListSpacesNames ¶
func (k KindClusterProvider) ListSpacesNames() ([]string, error)
func (KindClusterProvider) Watch ¶
func (k KindClusterProvider) Watch() (clusterprovider.Watcher, error)
type KindWatcher ¶
type KindWatcher struct {
// contains filtered or unexported fields
}
func (*KindWatcher) ResultChan ¶
func (k *KindWatcher) ResultChan() <-chan clusterprovider.WatchEvent
func (*KindWatcher) Stop ¶
func (k *KindWatcher) Stop()
Click to show internal directories.
Click to hide internal directories.