dto

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GDMWrapper

type GDMWrapper struct {
	Deployments []*sous.Deployment
}

GDMWrapper is the DTO wrapper for sous.Deployments

func (GDMWrapper) AddHeaders

func (g GDMWrapper) AddHeaders(headers http.Header)

AddHeaders implements HeaderAdder on GDMWrapper GDMWrappers add an Etag to the response

func (*GDMWrapper) EmptyReceiver

func (g *GDMWrapper) EmptyReceiver() restful.Comparable

EmptyReceiver implements Comparable on gdmWrapper

func (*GDMWrapper) VariancesFrom

func (g *GDMWrapper) VariancesFrom(other restful.Comparable) restful.Variances

VariancesFrom implements Comparable on gdmWrapper

type R11nResponse

type R11nResponse struct {
	QueuePosition int
	// Pointer here is just to allow nil which is a clearer indication of
	// "nothing to see here" than a JSON-marshalled zero value would be.
	Resolution *sous.DiffResolution
}

R11nResponse dto used by server to return single deploy status, read by client

Jump to

Keyboard shortcuts

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