Documentation ¶
Index ¶
- func BasicAuth(user string, pass string) (interface{}, error)
- func SessionAuth(ticket string) (interface{}, error)
- type Credentials
- type GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK
- type GetTargetTargetVchVchIDCertificateOK
- type HelloGet
- type Session
- type VCHCertGet
- type VCHCreate
- type VCHDatacenterCertGet
- type VCHDatacenterCreate
- type VCHDatacenterDelete
- type VCHDatacenterGet
- type VCHDatacenterListGet
- type VCHDatacenterLogGet
- type VCHDelete
- type VCHGet
- type VCHListGet
- type VCHLogGet
- type VersionGet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SessionAuth ¶
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 ¶
func (o *GetTargetTargetDatacenterDatacenterVchVchIDCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
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 ¶
func (o *GetTargetTargetVchVchIDCertificateOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
type HelloGet ¶
type HelloGet struct { }
HelloGet is the handler for accessing the version information for the service
func (*HelloGet) Handle ¶
func (h *HelloGet) Handle(params operations.GetHelloParams) middleware.Responder
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 ¶
func (h *VCHDatacenterCertGet) Handle(params operations.GetTargetTargetDatacenterDatacenterVchVchIDCertificateParams, principal interface{}) middleware.Responder
type VCHDatacenterCreate ¶
type VCHDatacenterCreate struct { }
VCHDatacenterCreate is the handler for creating a VCH within a Datacenter
func (*VCHDatacenterCreate) Handle ¶
func (h *VCHDatacenterCreate) Handle(params operations.PostTargetTargetDatacenterDatacenterVchParams, principal interface{}) middleware.Responder
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 ¶
func (h *VCHDatacenterDelete) Handle(params operations.DeleteTargetTargetDatacenterDatacenterVchVchIDParams, principal interface{}) middleware.Responder
type VCHDatacenterGet ¶
type VCHDatacenterGet struct { }
VCHGet is the handler for inspecting a VCH within a Datacenter
func (*VCHDatacenterGet) Handle ¶
func (h *VCHDatacenterGet) Handle(params operations.GetTargetTargetDatacenterDatacenterVchVchIDParams, principal interface{}) middleware.Responder
type VCHDatacenterListGet ¶
type VCHDatacenterListGet struct { }
VCHDatacenterListGet is the handler for listing VCHs within a Datacenter
func (*VCHDatacenterListGet) Handle ¶
func (h *VCHDatacenterListGet) Handle(params operations.GetTargetTargetDatacenterDatacenterVchParams, principal interface{}) middleware.Responder
type VCHDatacenterLogGet ¶
type VCHDatacenterLogGet struct { }
VCHDatacenterLogGet is the handler for getting the log messages for a VCH within a Datacenter
func (*VCHDatacenterLogGet) Handle ¶
func (h *VCHDatacenterLogGet) Handle(params operations.GetTargetTargetDatacenterDatacenterVchVchIDLogParams, principal interface{}) middleware.Responder
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 ¶
func (h *VersionGet) Handle(params operations.GetVersionParams) middleware.Responder