Documentation
¶
Index ¶
- Constants
- type ListManagedDomains
- type ListManagedDomainsHandler
- type ListManagedDomainsHandlerFunc
- type ListManagedDomainsInternalServerError
- func (o *ListManagedDomainsInternalServerError) SetPayload(payload *models.Error)
- func (o *ListManagedDomainsInternalServerError) WithPayload(payload *models.Error) *ListManagedDomainsInternalServerError
- func (o *ListManagedDomainsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
- type ListManagedDomainsOK
- type ListManagedDomainsParams
- type ListManagedDomainsURL
- func (o *ListManagedDomainsURL) Build() (*url.URL, error)
- func (o *ListManagedDomainsURL) BuildFull(scheme, host string) (*url.URL, error)
- func (o *ListManagedDomainsURL) Must(u *url.URL, err error) *url.URL
- func (o *ListManagedDomainsURL) SetBasePath(bp string)
- func (o *ListManagedDomainsURL) String() string
- func (o *ListManagedDomainsURL) StringFull(scheme, host string) string
- func (o *ListManagedDomainsURL) WithBasePath(bp string) *ListManagedDomainsURL
Constants ¶
const ListManagedDomainsInternalServerErrorCode int = 500
ListManagedDomainsInternalServerErrorCode is the HTTP code returned for type ListManagedDomainsInternalServerError
const ListManagedDomainsOKCode int = 200
ListManagedDomainsOKCode is the HTTP code returned for type ListManagedDomainsOK
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListManagedDomains ¶
type ListManagedDomains struct { Context *middleware.Context Handler ListManagedDomainsHandler }
ListManagedDomains swagger:route GET /domains managed_domains listManagedDomains
List of managed DNS domains
func NewListManagedDomains ¶
func NewListManagedDomains(ctx *middleware.Context, handler ListManagedDomainsHandler) *ListManagedDomains
NewListManagedDomains creates a new http.Handler for the list managed domains operation
func (*ListManagedDomains) ServeHTTP ¶
func (o *ListManagedDomains) ServeHTTP(rw http.ResponseWriter, r *http.Request)
type ListManagedDomainsHandler ¶
type ListManagedDomainsHandler interface {
Handle(ListManagedDomainsParams) middleware.Responder
}
ListManagedDomainsHandler interface for that can handle valid list managed domains params
type ListManagedDomainsHandlerFunc ¶
type ListManagedDomainsHandlerFunc func(ListManagedDomainsParams) middleware.Responder
ListManagedDomainsHandlerFunc turns a function with the right signature into a list managed domains handler
func (ListManagedDomainsHandlerFunc) Handle ¶
func (fn ListManagedDomainsHandlerFunc) Handle(params ListManagedDomainsParams) middleware.Responder
Handle executing the request and returning a response
type ListManagedDomainsInternalServerError ¶
type ListManagedDomainsInternalServerError struct { /* In: Body */ Payload *models.Error `json:"body,omitempty"` }
ListManagedDomainsInternalServerError Error.
swagger:response listManagedDomainsInternalServerError
func NewListManagedDomainsInternalServerError ¶
func NewListManagedDomainsInternalServerError() *ListManagedDomainsInternalServerError
NewListManagedDomainsInternalServerError creates ListManagedDomainsInternalServerError with default headers values
func (*ListManagedDomainsInternalServerError) SetPayload ¶
func (o *ListManagedDomainsInternalServerError) SetPayload(payload *models.Error)
SetPayload sets the payload to the list managed domains internal server error response
func (*ListManagedDomainsInternalServerError) WithPayload ¶
func (o *ListManagedDomainsInternalServerError) WithPayload(payload *models.Error) *ListManagedDomainsInternalServerError
WithPayload adds the payload to the list managed domains internal server error response
func (*ListManagedDomainsInternalServerError) WriteResponse ¶
func (o *ListManagedDomainsInternalServerError) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListManagedDomainsOK ¶
type ListManagedDomainsOK struct { /* In: Body */ Payload models.ListManagedDomains `json:"body,omitempty"` }
ListManagedDomainsOK Success.
swagger:response listManagedDomainsOK
func NewListManagedDomainsOK ¶
func NewListManagedDomainsOK() *ListManagedDomainsOK
NewListManagedDomainsOK creates ListManagedDomainsOK with default headers values
func (*ListManagedDomainsOK) SetPayload ¶
func (o *ListManagedDomainsOK) SetPayload(payload models.ListManagedDomains)
SetPayload sets the payload to the list managed domains o k response
func (*ListManagedDomainsOK) WithPayload ¶
func (o *ListManagedDomainsOK) WithPayload(payload models.ListManagedDomains) *ListManagedDomainsOK
WithPayload adds the payload to the list managed domains o k response
func (*ListManagedDomainsOK) WriteResponse ¶
func (o *ListManagedDomainsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)
WriteResponse to the client
type ListManagedDomainsParams ¶
type ListManagedDomainsParams struct { // HTTP Request Object HTTPRequest *http.Request `json:"-"` }
ListManagedDomainsParams contains all the bound params for the list managed domains operation typically these are obtained from a http.Request
swagger:parameters ListManagedDomains
func NewListManagedDomainsParams ¶
func NewListManagedDomainsParams() ListManagedDomainsParams
NewListManagedDomainsParams creates a new ListManagedDomainsParams object no default values defined in spec.
func (*ListManagedDomainsParams) BindRequest ¶
func (o *ListManagedDomainsParams) BindRequest(r *http.Request, route *middleware.MatchedRoute) error
BindRequest both binds and validates a request, it assumes that complex things implement a Validatable(strfmt.Registry) error interface for simple values it will use straight method calls.
To ensure default values, the struct must have been initialized with NewListManagedDomainsParams() beforehand.
type ListManagedDomainsURL ¶
type ListManagedDomainsURL struct {
// contains filtered or unexported fields
}
ListManagedDomainsURL generates an URL for the list managed domains operation
func (*ListManagedDomainsURL) Build ¶
func (o *ListManagedDomainsURL) Build() (*url.URL, error)
Build a url path and query string
func (*ListManagedDomainsURL) BuildFull ¶
func (o *ListManagedDomainsURL) BuildFull(scheme, host string) (*url.URL, error)
BuildFull builds a full url with scheme, host, path and query string
func (*ListManagedDomainsURL) Must ¶
Must is a helper function to panic when the url builder returns an error
func (*ListManagedDomainsURL) SetBasePath ¶
func (o *ListManagedDomainsURL) SetBasePath(bp string)
SetBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string
func (*ListManagedDomainsURL) String ¶
func (o *ListManagedDomainsURL) String() string
String returns the string representation of the path with query string
func (*ListManagedDomainsURL) StringFull ¶
func (o *ListManagedDomainsURL) StringFull(scheme, host string) string
StringFull returns the string representation of a complete url
func (*ListManagedDomainsURL) WithBasePath ¶
func (o *ListManagedDomainsURL) WithBasePath(bp string) *ListManagedDomainsURL
WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string