handlers

package
v1.4.1-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2018 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BasicAuth

func BasicAuth(user string, pass string) (interface{}, error)

func SessionAuth

func SessionAuth(ticket string) (interface{}, error)

Types

type Credentials

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

type GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK

type GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK struct {
	*operations.GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK
}

func NewGetTargetTargetDatacenterDatacenterVchVchIDCertificateOK

func NewGetTargetTargetDatacenterDatacenterVchVchIDCertificateOK(payload models.PEM) *GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK

func (*GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK) WriteResponse

type GetTargetTargetVchVchIDCertificateOK

type GetTargetTargetVchVchIDCertificateOK struct {
	*operations.GetTargetTargetVchVchIDCertificateOK
}

GetTargetTargetVchVchIDCertificateOK and the methods below are actually borrowed directly from generated swagger code. They are moved into this file and altered to use the TextProducer when returning a PEM certificate, as swagger does not directly support application/x-pem-file on the server side.

func NewGetTargetTargetVchVchIDCertificateOK

func NewGetTargetTargetVchVchIDCertificateOK(payload models.PEM) *GetTargetTargetVchVchIDCertificateOK

func (*GetTargetTargetVchVchIDCertificateOK) WriteResponse

type HelloGet

type HelloGet struct {
}

HelloGet is the handler for accessing the version information for the service

func (*HelloGet) Handle

type Session

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

type VCHCertGet

type VCHCertGet struct{}

func (*VCHCertGet) Handle

func (h *VCHCertGet) Handle(params operations.GetTargetTargetVchVchIDCertificateParams, principal interface{}) middleware.Responder

type VCHCreate

type VCHCreate struct {
}

VCHCreate is the handler for creating a VCH

func (*VCHCreate) Handle

func (h *VCHCreate) Handle(params operations.PostTargetTargetVchParams, principal interface{}) middleware.Responder

Handle is the handler implementation for VCH creation without a datacenter

type VCHDatacenterCertGet

type VCHDatacenterCertGet struct{}

func (*VCHDatacenterCertGet) Handle

type VCHDatacenterCreate

type VCHDatacenterCreate struct {
}

VCHDatacenterCreate is the handler for creating a VCH within a Datacenter

func (*VCHDatacenterCreate) Handle

Handle is the handler implementation for VCH creation with a datacenter

type VCHDatacenterDelete

type VCHDatacenterDelete struct {
}

VCHDatacenterDelete is the handler for deleting a VCH within a Datacenter

func (*VCHDatacenterDelete) Handle

type VCHDatacenterGet

type VCHDatacenterGet struct {
}

VCHGet is the handler for inspecting a VCH within a Datacenter

func (*VCHDatacenterGet) Handle

type VCHDatacenterListGet

type VCHDatacenterListGet struct {
}

VCHDatacenterListGet is the handler for listing VCHs within a Datacenter

func (*VCHDatacenterListGet) Handle

type VCHDatacenterLogGet

type VCHDatacenterLogGet struct {
}

VCHDatacenterLogGet is the handler for getting the log messages for a VCH within a Datacenter

func (*VCHDatacenterLogGet) Handle

type VCHDelete

type VCHDelete struct {
}

VCHDelete is the handler for deleting a VCH

func (*VCHDelete) Handle

func (h *VCHDelete) Handle(params operations.DeleteTargetTargetVchVchIDParams, principal interface{}) middleware.Responder

type VCHGet

type VCHGet struct {
}

VCHGet is the handler for inspecting a VCH

func (*VCHGet) Handle

func (h *VCHGet) Handle(params operations.GetTargetTargetVchVchIDParams, principal interface{}) middleware.Responder

type VCHListGet

type VCHListGet struct {
}

VCHListGet is the handler for listing VCHs

func (*VCHListGet) Handle

func (h *VCHListGet) Handle(params operations.GetTargetTargetVchParams, principal interface{}) middleware.Responder

type VCHLogGet

type VCHLogGet struct {
}

VCHLogGet is the handler for getting the log messages for a VCH

func (*VCHLogGet) Handle

func (h *VCHLogGet) Handle(params operations.GetTargetTargetVchVchIDLogParams, principal interface{}) middleware.Responder

type VersionGet

type VersionGet struct {
}

VersionGet is the handler for accessing the version information for the service

func (*VersionGet) Handle

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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