Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyUpdate = errors.New("update object does not contain any changes")
Functions ¶
This section is empty.
Types ¶
type EventUpdate ¶
type EventUpdate struct { EventType string EventInfo models.EventContextInfo }
type ServiceUpdate ¶
type ServiceUpdate struct {
// contains filtered or unexported fields
}
ServiceUpdate defines a set of properties that can be updated for a specific service within a project, without needing to overwrite the complete project this will help to reduce concurrency issues due to simultaneous updates of a service within a project
func (*ServiceUpdate) DeployedImage ¶
func (s *ServiceUpdate) DeployedImage() string
func (*ServiceUpdate) EventTypeUpdate ¶
func (s *ServiceUpdate) EventTypeUpdate() *EventUpdate
func (*ServiceUpdate) GetBSONUpdate ¶
func (s *ServiceUpdate) GetBSONUpdate() (bson.D, error)
func (*ServiceUpdate) SetDeployedImage ¶
func (s *ServiceUpdate) SetDeployedImage(deployedImage string)
func (*ServiceUpdate) SetEventTypeUpdate ¶
func (s *ServiceUpdate) SetEventTypeUpdate(update *EventUpdate)
Click to show internal directories.
Click to hide internal directories.