Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigParams ¶
func ConfigParams() []configparam.ConfigParam
ConfigParams function returns the configuration parameters of all registered resource kinds.
Types ¶
type Kind ¶
type Kind interface {
KindName() string
// Param method returns the configuration parameters specific
// to a resource kind.
Param() configparam.ConfigParam
// Export method performs the export operation of a resource
// kind. The method first identifies the resources that are to
// be exportd using the values of the related configuration
// parameters. Then it collects the resource definitions
// through the cfClient. Finally, the resources are exported
// using the eventHandler.
Export(ctx context.Context, cfClient *client.Client, evHandler export.EventHandler, resolveReferences bool) error
}
Kind interface must be implemented by each CF resource kinds.
Click to show internal directories.
Click to hide internal directories.