Documentation ¶
Index ¶
- type Account
- type Application
- type ApplicationController
- func (c *ApplicationController) Create(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *ApplicationController) Delete(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *ApplicationController) Get(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *ApplicationController) GetCertificates(ctx context.Context, w http.ResponseWriter, r *http.Request)
- func (c *ApplicationController) Head(ctx context.Context, w http.ResponseWriter, r *http.Request)
- type EnvironmentName
- type TestServer
- type Topic
- type TopicController
- func (c *TopicController) Create(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (c *TopicController) Delete(ctx context.Context, w http.ResponseWriter, r *http.Request) error
- func (c *TopicController) GetConfig(ctx context.Context, w http.ResponseWriter, r *http.Request) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type ApplicationController ¶
type ApplicationController struct {
Resources []Application
}
TestApplicationController mimics the ApplicationController found in Galapagos Java.
func (*ApplicationController) Create ¶
func (c *ApplicationController) Create(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*ApplicationController) Delete ¶
func (c *ApplicationController) Delete(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*ApplicationController) Get ¶
func (c *ApplicationController) Get(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*ApplicationController) GetCertificates ¶
func (c *ApplicationController) GetCertificates(ctx context.Context, w http.ResponseWriter, r *http.Request)
func (*ApplicationController) Head ¶
func (c *ApplicationController) Head(ctx context.Context, w http.ResponseWriter, r *http.Request)
type EnvironmentName ¶
type EnvironmentName string
type TestServer ¶
type TestServer struct { URL string // contains filtered or unexported fields }
func NewServer ¶
func NewServer(ctx context.Context) *TestServer
func (*TestServer) Accounts ¶
func (s *TestServer) Accounts() []Account
func (*TestServer) Applications ¶
func (s *TestServer) Applications() []Application
func (*TestServer) Client ¶
func (s *TestServer) Client() *http.Client
func (*TestServer) Close ¶
func (s *TestServer) Close() error
func (*TestServer) Topics ¶
func (s *TestServer) Topics() []Topic
type TopicController ¶
type TopicController struct {
Resources []Topic
}
TopicController mimics the TopicController found in Galapagos Java.
func (*TopicController) Create ¶
func (c *TopicController) Create(ctx context.Context, w http.ResponseWriter, r *http.Request) error
func (*TopicController) Delete ¶
func (c *TopicController) Delete(ctx context.Context, w http.ResponseWriter, r *http.Request) error
func (*TopicController) GetConfig ¶
func (c *TopicController) GetConfig(ctx context.Context, w http.ResponseWriter, r *http.Request) error
Click to show internal directories.
Click to hide internal directories.