Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DesiredStateServer ¶
type DesiredStateServer struct { Apps []DesiredAppState NumberOfCompleteFetches int // contains filtered or unexported fields }
func NewDesiredStateServer ¶
func NewDesiredStateServer(port int) *DesiredStateServer
func (*DesiredStateServer) GetNumberOfCompleteFetches ¶
func (server *DesiredStateServer) GetNumberOfCompleteFetches() int
func (*DesiredStateServer) Reset ¶
func (server *DesiredStateServer) Reset()
func (*DesiredStateServer) SetDesiredState ¶
func (server *DesiredStateServer) SetDesiredState(newState []DesiredAppState)
func (*DesiredStateServer) SpinUp ¶
func (server *DesiredStateServer) SpinUp()
func (*DesiredStateServer) URL ¶
func (server *DesiredStateServer) URL() string
type DesiredStateServerInterface ¶
type DesiredStateServerInterface interface { SpinUp() SetDesiredState([]DesiredAppState) URL() string }
Click to show internal directories.
Click to hide internal directories.