package
0.2.0-alpha
Repository: https://github.com/vmware-archive/dispatch.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewAuth creates a new http.Handler for the auth operation.
NewAuthAccepted creates AuthAccepted with default headers values.
NewAuthDefault creates AuthDefault with default headers values.
NewAuthForbidden creates AuthForbidden with default headers values.
NewAuthParams creates a new AuthParams object no default values defined in spec.
NewAuthUnauthorized creates AuthUnauthorized with default headers values.
NewGetVersion creates a new http.Handler for the get version operation.
NewGetVersionDefault creates GetVersionDefault with default headers values.
NewGetVersionOK creates GetVersionOK with default headers values.
NewGetVersionParams creates a new GetVersionParams object no default values defined in spec.
NewHome creates a new http.Handler for the home operation.
NewHomeDefault creates HomeDefault with default headers values.
NewHomeForbidden creates HomeForbidden with default headers values.
NewHomeOK creates HomeOK with default headers values.
NewHomeParams creates a new HomeParams object no default values defined in spec.
NewHomeUnauthorized creates HomeUnauthorized with default headers values.
NewIdentityManagerAPI creates a new IdentityManager instance.
NewRedirect creates a new http.Handler for the redirect operation.
NewRedirectDefault creates RedirectDefault with default headers values.
NewRedirectFound creates RedirectFound with default headers values.
NewRedirectParams creates a new RedirectParams object no default values defined in spec.
NewRoot creates a new http.Handler for the root operation.
NewRootDefault creates RootDefault with default headers values.
NewRootForbidden creates RootForbidden with default headers values.
NewRootOK creates RootOK with default headers values.
NewRootParams creates a new RootParams object no default values defined in spec.
NewRootUnauthorized creates RootUnauthorized with default headers values.

# Constants

AuthAcceptedCode is the HTTP code returned for type AuthAccepted.
AuthForbiddenCode is the HTTP code returned for type AuthForbidden.
AuthUnauthorizedCode is the HTTP code returned for type AuthUnauthorized.
GetVersionOKCode is the HTTP code returned for type GetVersionOK.
HomeForbiddenCode is the HTTP code returned for type HomeForbidden.
HomeOKCode is the HTTP code returned for type HomeOK.
HomeUnauthorizedCode is the HTTP code returned for type HomeUnauthorized.
RedirectFoundCode is the HTTP code returned for type RedirectFound.
RootForbiddenCode is the HTTP code returned for type RootForbidden.
RootOKCode is the HTTP code returned for type RootOK.
RootUnauthorizedCode is the HTTP code returned for type RootUnauthorized.

# Structs

Auth swagger:route GET /v1/iam/auth auth handles authorization */.
AuthAccepted default response if authorized swagger:response authAccepted */.
AuthDefault error swagger:response authDefault */.
AuthForbidden Forbidden swagger:response authForbidden */.
AuthParams contains all the bound params for the auth operation typically these are obtained from a http.Request swagger:parameters auth.
AuthUnauthorized Unauthorized swagger:response authUnauthorized */.
AuthURL generates an URL for the auth operation.
GetVersion swagger:route GET /v1/version getVersion get version info */.
GetVersionDefault error swagger:response getVersionDefault */.
GetVersionOK version info swagger:response getVersionOK */.
GetVersionParams contains all the bound params for the get version operation typically these are obtained from a http.Request swagger:parameters getVersion.
GetVersionURL generates an URL for the get version operation.
Home swagger:route GET /home home a placeholder home page, no authorization policy is required for this */.
HomeDefault error swagger:response homeDefault */.
HomeForbidden access to this resource is forbidden swagger:response homeForbidden */.
HomeOK home page swagger:response homeOK */.
HomeParams contains all the bound params for the home operation typically these are obtained from a http.Request swagger:parameters home.
HomeUnauthorized Unauthorized Request swagger:response homeUnauthorized */.
HomeURL generates an URL for the home operation.
IdentityManagerAPI VMware Dispatch Identity Manager */.
Redirect swagger:route GET /v1/iam/redirect redirect redirect to localhost for vs-cli login (testing) */.
RedirectDefault error swagger:response redirectDefault */.
RedirectFound redirect swagger:response redirectFound */.
RedirectParams contains all the bound params for the redirect operation typically these are obtained from a http.Request swagger:parameters redirect.
RedirectURL generates an URL for the redirect operation.
Root swagger:route GET / root a placeholder root page, no authentication is required for this */.
RootDefault error swagger:response rootDefault */.
RootForbidden access to this resource is forbidden swagger:response rootForbidden */.
RootOK home page swagger:response rootOK */.
RootParams contains all the bound params for the root operation typically these are obtained from a http.Request swagger:parameters root.
RootUnauthorized Unauthorized Request swagger:response rootUnauthorized */.
RootURL generates an URL for the root operation.

# Interfaces

AuthHandler interface for that can handle valid auth params.
GetVersionHandler interface for that can handle valid get version params.
HomeHandler interface for that can handle valid home params.
RedirectHandler interface for that can handle valid redirect params.
RootHandler interface for that can handle valid root params.

# Type aliases

AuthHandlerFunc turns a function with the right signature into a auth handler.
GetVersionHandlerFunc turns a function with the right signature into a get version handler.
HomeHandlerFunc turns a function with the right signature into a home handler.
RedirectHandlerFunc turns a function with the right signature into a redirect handler.
RootHandlerFunc turns a function with the right signature into a root handler.