package aci

import "github.com/coreos/rkt/tests/testutils/aci-server"

Index

Types

type AuthType

type AuthType int
const (
	AuthNone AuthType = iota
	AuthBasic
	AuthOauth
)

type PortType

type PortType int
const (
	PortFixed PortType = iota
	PortRandom
)

type ProtocolType

type ProtocolType int
const (
	ProtocolHttps ProtocolType = iota
	ProtocolHttp
)

type Server

type Server struct {
	Msg  <-chan string
	Conf string
	URL  string
	// contains filtered or unexported fields
}

func NewServer

func NewServer(setup *ServerSetup) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) UpdateFileSet

func (s *Server) UpdateFileSet(fileSet map[string]string) error

type ServerSetup

type ServerSetup struct {
	Port        PortType
	Protocol    ProtocolType
	Server      ServerType
	Auth        AuthType
	MsgCapacity int
}

func GetDefaultServerSetup

func GetDefaultServerSetup() *ServerSetup

type ServerType

type ServerType int
const (
	ServerOrdinary ServerType = iota
	ServerQuay
)

Source Files

server.go

Version
v1.30.0 (latest)
Published
Apr 13, 2018
Platform
linux/amd64
Imports
11 packages
Last checked
4 days ago

Tools for package owners.