infrastructure

package
v0.0.0-...-7dcd5d4 Latest Latest
Warning

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

Go to latest
Published: May 20, 2015 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteRequest

func ExecuteRequest(method, apiUrl, apiQuery string, body []byte, headers map[string]string) ([]byte, error)

Types

type DockerAPIClient_HTTP_Repository

type DockerAPIClient_HTTP_Repository struct {
	// contains filtered or unexported fields
}

func (*DockerAPIClient_HTTP_Repository) ListContainers

func (repo *DockerAPIClient_HTTP_Repository) ListContainers(socketPath string) ([]*domain.Container, error)

type VulcandAPIClient_HTTP_Repository

type VulcandAPIClient_HTTP_Repository struct {
	// contains filtered or unexported fields
}

func (*VulcandAPIClient_HTTP_Repository) DeleteBackendById

func (repo *VulcandAPIClient_HTTP_Repository) DeleteBackendById(apiUrl, backendId string) error

func (*VulcandAPIClient_HTTP_Repository) GetBackendById

func (repo *VulcandAPIClient_HTTP_Repository) GetBackendById(apiUrl, backendId string) (*domain.Backend, error)

func (*VulcandAPIClient_HTTP_Repository) GetFrontendById

func (repo *VulcandAPIClient_HTTP_Repository) GetFrontendById(apiUrl, frontendId string) (*domain.Frontend, error)

func (*VulcandAPIClient_HTTP_Repository) GetServerById

func (repo *VulcandAPIClient_HTTP_Repository) GetServerById(apiUrl, backendId, serverId string) (*domain.Server, error)

func (*VulcandAPIClient_HTTP_Repository) ListBackends

func (repo *VulcandAPIClient_HTTP_Repository) ListBackends(apiUrl string) ([]*domain.Backend, error)

func (*VulcandAPIClient_HTTP_Repository) ListFrontends

func (repo *VulcandAPIClient_HTTP_Repository) ListFrontends(apiUrl string) ([]*domain.Frontend, error)

func (*VulcandAPIClient_HTTP_Repository) ListServers

func (repo *VulcandAPIClient_HTTP_Repository) ListServers(apiUrl, backendId string) ([]*domain.Server, error)

func (*VulcandAPIClient_HTTP_Repository) UpsertBackend

func (repo *VulcandAPIClient_HTTP_Repository) UpsertBackend(apiUrl string, backend *domain.Backend) (*domain.Backend, error)

func (*VulcandAPIClient_HTTP_Repository) UpsertServer

func (repo *VulcandAPIClient_HTTP_Repository) UpsertServer(apiUrl, backendId string, server *domain.Server) (*domain.Server, error)

Jump to

Keyboard shortcuts

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