Documentation ¶
Overview ¶
package fake provides a fake implementation of the coordinator for use in tests
Index ¶
- type FakeBuilder
- type FakeCoordinator
- func (f *FakeCoordinator) Apply(resources kftypes.ResourceEnum) error
- func (f *FakeCoordinator) Delete(resources kftypes.ResourceEnum) error
- func (f *FakeCoordinator) Dump(resources kftypes.ResourceEnum) error
- func (f *FakeCoordinator) Generate(resources kftypes.ResourceEnum) error
- func (f *FakeCoordinator) GetKfDef() *kfconfig.KfConfig
- func (f *FakeCoordinator) GetPlugin(name string) (kftypes.KfApp, bool)
- func (f *FakeCoordinator) Init(resources kftypes.ResourceEnum) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuilder ¶
type FakeBuilder struct { }
func (*FakeBuilder) CreateKfAppCfgFile ¶
func (b *FakeBuilder) CreateKfAppCfgFile(def *kfconfig.KfConfig) (string, error)
func (*FakeBuilder) LoadKfAppCfgFile ¶
func (b *FakeBuilder) LoadKfAppCfgFile(cfgFile string) (kftypes.KfApp, error)
type FakeCoordinator ¶
func (*FakeCoordinator) Apply ¶
func (f *FakeCoordinator) Apply(resources kftypes.ResourceEnum) error
func (*FakeCoordinator) Delete ¶
func (f *FakeCoordinator) Delete(resources kftypes.ResourceEnum) error
func (*FakeCoordinator) Dump ¶
func (f *FakeCoordinator) Dump(resources kftypes.ResourceEnum) error
func (*FakeCoordinator) Generate ¶
func (f *FakeCoordinator) Generate(resources kftypes.ResourceEnum) error
func (*FakeCoordinator) GetKfDef ¶
func (f *FakeCoordinator) GetKfDef() *kfconfig.KfConfig
func (*FakeCoordinator) GetPlugin ¶
func (f *FakeCoordinator) GetPlugin(name string) (kftypes.KfApp, bool)
func (*FakeCoordinator) Init ¶
func (f *FakeCoordinator) Init(resources kftypes.ResourceEnum) error
Click to show internal directories.
Click to hide internal directories.