mv

package
v0.0.0-...-318a3d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL