ccapi

package
v3.0.8+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2018 License: MIT Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CCAPITester

func CCAPITester(t *testing.T) *httptest.Server

Types

type CCAPIServer

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

CCAPIServer define data struct of bcs ccapi server

func NewCCAPIServer

func NewCCAPIServer(conf *config.CCAPIConfig) (*CCAPIServer, error)

func (*CCAPIServer) HealthMetric

func (ccAPI *CCAPIServer) HealthMetric() metric.HealthMeta

HealthMetric check netservice is health

func (*CCAPIServer) HttpServ

func (ccAPI *CCAPIServer) HttpServ() *httpserver.HttpServer

func (*CCAPIServer) InitHttpServ

func (ccAPI *CCAPIServer) InitHttpServ(config map[string]string) error

func (*CCAPIServer) Start

func (ccAPI *CCAPIServer) Start() error

Start the ccapi server

func (*CCAPIServer) Stop

func (ccAPI *CCAPIServer) Stop() error

Stop the ccapi server

Directories

Path Synopsis
actions

Jump to

Keyboard shortcuts

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