handlers

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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 a handler that returns a static message for interfaces to use during self-signed certificate acceptance workflows

func (*HelloGet) Handle

Handle is the handler implementation that returns a static message for interfaces to use during self-signed certificate acceptance workflows

type VCHCertGet

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

VCHCertGet is the Handler for getting the certificate for a VCH without specifying a datacenter

func (*VCHCertGet) Handle

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

Handle is the handler implementation for getting the certificate for a VCH without specifying a datacenter

type VCHCreate

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

VCHCreate is the handler for creating a VCH without specifying a datacenter

func (*VCHCreate) Handle

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

Handle is the handler implementation for creating a VCH without specifying a datacenter

type VCHDatacenterCertGet

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

VCHDatacenterCertGet is the Handler for getting the certificate for a VCH within a specified datacenter

func (*VCHDatacenterCertGet) Handle

Handle is the handler implementation for getting the certificate for a VCH within a specified datacenter

type VCHDatacenterCreate

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

VCHDatacenterCreate is the handler for creating a VCH within a specified datacenter

func (*VCHDatacenterCreate) Handle

Handle is the handler implementation for creating a VCH within a specified datacenter

type VCHDatacenterDelete

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

VCHDatacenterDelete is the handler for deleting a VCH within a specified datacenter

func (*VCHDatacenterDelete) Handle

Handle is the handler implementation for deleting a VCH within a specified datacenter

type VCHDatacenterGet

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

VCHDatacenterGet is the handler for inspecting a VCH within a specified datacenter

func (*VCHDatacenterGet) Handle

Handle is the handler implementation for inspecting a VCH within a specified datacenter

type VCHDatacenterListGet

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

VCHDatacenterListGet is the handler for listing VCHs within a specified datacenter

func (*VCHDatacenterListGet) Handle

Handle is the handler implementation for listing VCHs within a specified datacenter

type VCHDatacenterLogGet

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

VCHDatacenterLogGet is the handler for getting the log messages for a VCH within a specified datacenter

func (*VCHDatacenterLogGet) Handle

Handle is the handler implementation for getting the log messages for a VCH within a specified datacenter

type VCHDelete

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

VCHDelete is the handler for deleting a VCH without specifying a datacenter

func (*VCHDelete) Handle

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

Handle is the handler implementation for deleting a VCH without specifying a datacenter

type VCHGet

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

VCHGet is the handler for inspecting a VCH without specifying a datacenter

func (*VCHGet) Handle

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

Handle is the handler implementation for inspecting a VCH without specifying a datacenter

type VCHListGet

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

VCHListGet is the handler for listing VCHs without specifying a datacenter

func (*VCHListGet) Handle

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

Handle is the handler implementation for listing VCHs without specifying a datacenter

type VCHLogGet

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

VCHLogGet is the handler for getting the log messages for a VCH without specifying a datacenter

func (*VCHLogGet) Handle

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

Handle is the handler implementation for getting the log messages for a VCH without specifying a datacenter

type VersionGet

type VersionGet struct {
}

VersionGet is the handler for accessing the version of the API server

func (*VersionGet) Handle

Handle is the handler implementation for accessing the version of the API server

Directories

Path Synopsis
Package client enables handler code to easily and consistently validate and dispatch calls to lib/install.
Package client enables handler code to easily and consistently validate and dispatch calls to lib/install.
Package decode converts model objects used by the API into objects used by the management package.
Package decode converts model objects used by the API into objects used by the management package.
Package encode converts objects used by the management package into model objects used by the API.
Package encode converts objects used by the management package into model objects used by the API.
Package errors provides constructors and wrappers for http-aware errors.
Package errors provides constructors and wrappers for http-aware errors.
Package logging encapsulates logging functionality used by API handlers.
Package logging encapsulates logging functionality used by API handlers.
Package target encapsulates the logic for translating the raw input about the intended target of an API operation (vSphere endpoint, thumbprint, datacenter, compute resource, VCH ID) into structs handlers can use.
Package target encapsulates the logic for translating the raw input about the intended target of an API operation (vSphere endpoint, thumbprint, datacenter, compute resource, VCH ID) into structs handlers can use.

Jump to

Keyboard shortcuts

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