Documentation
¶
Index ¶
- func CreateServiceConfigUpdateFromServiceConfig(applicationAddress string, service *sharedtypes.ApplicationServiceConfig, ...) *apptypes.ApplicationServiceConfigUpdate
- func CreateServiceConfigUpdateHistoryFromServiceConfigs(applicationAddress string, services []*sharedtypes.ApplicationServiceConfig, ...) []*apptypes.ApplicationServiceConfigUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateServiceConfigUpdateFromServiceConfig ¶
func CreateServiceConfigUpdateFromServiceConfig( applicationAddress string, service *sharedtypes.ApplicationServiceConfig, activationHeight int64, deactivationHeight int64, ) *apptypes.ApplicationServiceConfigUpdate
CreateServiceConfigUpdateFromServiceConfig creates a single ApplicationServiceConfigUpdate object from an ApplicationServiceConfig object.
func CreateServiceConfigUpdateHistoryFromServiceConfigs ¶
func CreateServiceConfigUpdateHistoryFromServiceConfigs( applicationAddress string, services []*sharedtypes.ApplicationServiceConfig, activationHeight int64, deactivationHeight int64, ) []*apptypes.ApplicationServiceConfigUpdate
CreateServiceConfigUpdateHistoryFromServiceConfigs creates a list of ApplicationServiceConfigUpdate objects from a list of ApplicationServiceConfig objects.
- This utility function is used in tests to construct the service configuration history for an application (the app-side analogue of the supplier helper in testutil/shared/service_config_history.go).
- Returns a slice that can be assigned to an Application's ServiceConfigHistory field.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.