Documentation ¶
Index ¶
- func ExecuteRequest(method, apiUrl, apiQuery string, body []byte, headers map[string]string) ([]byte, error)
- type DockerAPIClient_HTTP_Repository
- type VulcandAPIClient_HTTP_Repository
- func (repo *VulcandAPIClient_HTTP_Repository) DeleteBackendById(apiUrl, backendId string) error
- func (repo *VulcandAPIClient_HTTP_Repository) GetBackendById(apiUrl, backendId string) (*domain.Backend, error)
- func (repo *VulcandAPIClient_HTTP_Repository) GetFrontendById(apiUrl, frontendId string) (*domain.Frontend, error)
- func (repo *VulcandAPIClient_HTTP_Repository) GetServerById(apiUrl, backendId, serverId string) (*domain.Server, error)
- func (repo *VulcandAPIClient_HTTP_Repository) ListBackends(apiUrl string) ([]*domain.Backend, error)
- func (repo *VulcandAPIClient_HTTP_Repository) ListFrontends(apiUrl string) ([]*domain.Frontend, error)
- func (repo *VulcandAPIClient_HTTP_Repository) ListServers(apiUrl, backendId string) ([]*domain.Server, error)
- func (repo *VulcandAPIClient_HTTP_Repository) UpsertBackend(apiUrl string, backend *domain.Backend) (*domain.Backend, error)
- func (repo *VulcandAPIClient_HTTP_Repository) UpsertServer(apiUrl, backendId string, server *domain.Server) (*domain.Server, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 (*VulcandAPIClient_HTTP_Repository) UpsertServer ¶
Click to show internal directories.
Click to hide internal directories.