domains

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DeleteDomainsDomainIDNoContentCode int = 204

DeleteDomainsDomainIDNoContentCode is the HTTP code returned for type DeleteDomainsDomainIDNoContent

View Source
const DeleteDomainsDomainIDNotFoundCode int = 404

DeleteDomainsDomainIDNotFoundCode is the HTTP code returned for type DeleteDomainsDomainIDNotFound

View Source
const GetDomainsBadRequestCode int = 400

GetDomainsBadRequestCode is the HTTP code returned for type GetDomainsBadRequest

View Source
const GetDomainsDomainIDNotFoundCode int = 404

GetDomainsDomainIDNotFoundCode is the HTTP code returned for type GetDomainsDomainIDNotFound

View Source
const GetDomainsDomainIDOKCode int = 200

GetDomainsDomainIDOKCode is the HTTP code returned for type GetDomainsDomainIDOK

View Source
const GetDomainsOKCode int = 200

GetDomainsOKCode is the HTTP code returned for type GetDomainsOK

View Source
const PostDomainsBadRequestCode int = 400

PostDomainsBadRequestCode is the HTTP code returned for type PostDomainsBadRequest

View Source
const PostDomainsCreatedCode int = 201

PostDomainsCreatedCode is the HTTP code returned for type PostDomainsCreated

View Source
const PutDomainsDomainIDAcceptedCode int = 202

PutDomainsDomainIDAcceptedCode is the HTTP code returned for type PutDomainsDomainIDAccepted

View Source
const PutDomainsDomainIDBadRequestCode int = 400

PutDomainsDomainIDBadRequestCode is the HTTP code returned for type PutDomainsDomainIDBadRequest

View Source
const PutDomainsDomainIDNotFoundCode int = 404

PutDomainsDomainIDNotFoundCode is the HTTP code returned for type PutDomainsDomainIDNotFound

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteDomainsDomainID

type DeleteDomainsDomainID struct {
	Context *middleware.Context
	Handler DeleteDomainsDomainIDHandler
}
DeleteDomainsDomainID swagger:route DELETE /domains/{domain_id} Domains deleteDomainsDomainId

Delete a domain

func NewDeleteDomainsDomainID

func NewDeleteDomainsDomainID(ctx *middleware.Context, handler DeleteDomainsDomainIDHandler) *DeleteDomainsDomainID

NewDeleteDomainsDomainID creates a new http.Handler for the delete domains domain ID operation

func (*DeleteDomainsDomainID) ServeHTTP

func (o *DeleteDomainsDomainID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type DeleteDomainsDomainIDDefault

type DeleteDomainsDomainIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

DeleteDomainsDomainIDDefault Unexpected Error

swagger:response deleteDomainsDomainIdDefault

func NewDeleteDomainsDomainIDDefault

func NewDeleteDomainsDomainIDDefault(code int) *DeleteDomainsDomainIDDefault

NewDeleteDomainsDomainIDDefault creates DeleteDomainsDomainIDDefault with default headers values

func (*DeleteDomainsDomainIDDefault) SetPayload

func (o *DeleteDomainsDomainIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete domains domain ID default response

func (*DeleteDomainsDomainIDDefault) SetStatusCode

func (o *DeleteDomainsDomainIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the delete domains domain ID default response

func (*DeleteDomainsDomainIDDefault) WithPayload

WithPayload adds the payload to the delete domains domain ID default response

func (*DeleteDomainsDomainIDDefault) WithStatusCode

WithStatusCode adds the status to the delete domains domain ID default response

func (*DeleteDomainsDomainIDDefault) WriteResponse

func (o *DeleteDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDomainsDomainIDHandler

type DeleteDomainsDomainIDHandler interface {
	Handle(DeleteDomainsDomainIDParams) middleware.Responder
}

DeleteDomainsDomainIDHandler interface for that can handle valid delete domains domain ID params

type DeleteDomainsDomainIDHandlerFunc

type DeleteDomainsDomainIDHandlerFunc func(DeleteDomainsDomainIDParams) middleware.Responder

DeleteDomainsDomainIDHandlerFunc turns a function with the right signature into a delete domains domain ID handler

func (DeleteDomainsDomainIDHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteDomainsDomainIDNoContent

type DeleteDomainsDomainIDNoContent struct {
}

DeleteDomainsDomainIDNoContent Resource successfully deleted.

swagger:response deleteDomainsDomainIdNoContent

func NewDeleteDomainsDomainIDNoContent

func NewDeleteDomainsDomainIDNoContent() *DeleteDomainsDomainIDNoContent

NewDeleteDomainsDomainIDNoContent creates DeleteDomainsDomainIDNoContent with default headers values

func (*DeleteDomainsDomainIDNoContent) WriteResponse

func (o *DeleteDomainsDomainIDNoContent) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDomainsDomainIDNotFound

type DeleteDomainsDomainIDNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

DeleteDomainsDomainIDNotFound Not Found

swagger:response deleteDomainsDomainIdNotFound

func NewDeleteDomainsDomainIDNotFound

func NewDeleteDomainsDomainIDNotFound() *DeleteDomainsDomainIDNotFound

NewDeleteDomainsDomainIDNotFound creates DeleteDomainsDomainIDNotFound with default headers values

func (*DeleteDomainsDomainIDNotFound) SetPayload

func (o *DeleteDomainsDomainIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the delete domains domain Id not found response

func (*DeleteDomainsDomainIDNotFound) WithPayload

WithPayload adds the payload to the delete domains domain Id not found response

func (*DeleteDomainsDomainIDNotFound) WriteResponse

func (o *DeleteDomainsDomainIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type DeleteDomainsDomainIDParams

type DeleteDomainsDomainIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The UUID of the domain
	  Required: true
	  In: path
	*/
	DomainID strfmt.UUID
}

DeleteDomainsDomainIDParams contains all the bound params for the delete domains domain ID operation typically these are obtained from a http.Request

swagger:parameters DeleteDomainsDomainID

func NewDeleteDomainsDomainIDParams

func NewDeleteDomainsDomainIDParams() DeleteDomainsDomainIDParams

NewDeleteDomainsDomainIDParams creates a new DeleteDomainsDomainIDParams object

There are no default values defined in the spec.

func (*DeleteDomainsDomainIDParams) BindRequest

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 NewDeleteDomainsDomainIDParams() beforehand.

type DeleteDomainsDomainIDURL

type DeleteDomainsDomainIDURL struct {
	DomainID strfmt.UUID
	// contains filtered or unexported fields
}

DeleteDomainsDomainIDURL generates an URL for the delete domains domain ID operation

func (*DeleteDomainsDomainIDURL) Build

func (o *DeleteDomainsDomainIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*DeleteDomainsDomainIDURL) BuildFull

func (o *DeleteDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*DeleteDomainsDomainIDURL) Must

func (o *DeleteDomainsDomainIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*DeleteDomainsDomainIDURL) SetBasePath

func (o *DeleteDomainsDomainIDURL) 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 (*DeleteDomainsDomainIDURL) String

func (o *DeleteDomainsDomainIDURL) String() string

String returns the string representation of the path with query string

func (*DeleteDomainsDomainIDURL) StringFull

func (o *DeleteDomainsDomainIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*DeleteDomainsDomainIDURL) WithBasePath

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

type GetDomains

type GetDomains struct {
	Context *middleware.Context
	Handler GetDomainsHandler
}
GetDomains swagger:route GET /domains Domains getDomains

List domains

func NewGetDomains

func NewGetDomains(ctx *middleware.Context, handler GetDomainsHandler) *GetDomains

NewGetDomains creates a new http.Handler for the get domains operation

func (*GetDomains) ServeHTTP

func (o *GetDomains) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetDomainsBadRequest

type GetDomainsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetDomainsBadRequest Bad request

swagger:response getDomainsBadRequest

func NewGetDomainsBadRequest

func NewGetDomainsBadRequest() *GetDomainsBadRequest

NewGetDomainsBadRequest creates GetDomainsBadRequest with default headers values

func (*GetDomainsBadRequest) SetPayload

func (o *GetDomainsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the get domains bad request response

func (*GetDomainsBadRequest) WithPayload

func (o *GetDomainsBadRequest) WithPayload(payload *models.Error) *GetDomainsBadRequest

WithPayload adds the payload to the get domains bad request response

func (*GetDomainsBadRequest) WriteResponse

func (o *GetDomainsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDomainsDefault

type GetDomainsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetDomainsDefault Unexpected Error

swagger:response getDomainsDefault

func NewGetDomainsDefault

func NewGetDomainsDefault(code int) *GetDomainsDefault

NewGetDomainsDefault creates GetDomainsDefault with default headers values

func (*GetDomainsDefault) SetPayload

func (o *GetDomainsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get domains default response

func (*GetDomainsDefault) SetStatusCode

func (o *GetDomainsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get domains default response

func (*GetDomainsDefault) WithPayload

func (o *GetDomainsDefault) WithPayload(payload *models.Error) *GetDomainsDefault

WithPayload adds the payload to the get domains default response

func (*GetDomainsDefault) WithStatusCode

func (o *GetDomainsDefault) WithStatusCode(code int) *GetDomainsDefault

WithStatusCode adds the status to the get domains default response

func (*GetDomainsDefault) WriteResponse

func (o *GetDomainsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDomainsDomainID

type GetDomainsDomainID struct {
	Context *middleware.Context
	Handler GetDomainsDomainIDHandler
}
GetDomainsDomainID swagger:route GET /domains/{domain_id} Domains getDomainsDomainId

Show domain detail

func NewGetDomainsDomainID

func NewGetDomainsDomainID(ctx *middleware.Context, handler GetDomainsDomainIDHandler) *GetDomainsDomainID

NewGetDomainsDomainID creates a new http.Handler for the get domains domain ID operation

func (*GetDomainsDomainID) ServeHTTP

func (o *GetDomainsDomainID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type GetDomainsDomainIDDefault

type GetDomainsDomainIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

GetDomainsDomainIDDefault Unexpected Error

swagger:response getDomainsDomainIdDefault

func NewGetDomainsDomainIDDefault

func NewGetDomainsDomainIDDefault(code int) *GetDomainsDomainIDDefault

NewGetDomainsDomainIDDefault creates GetDomainsDomainIDDefault with default headers values

func (*GetDomainsDomainIDDefault) SetPayload

func (o *GetDomainsDomainIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the get domains domain ID default response

func (*GetDomainsDomainIDDefault) SetStatusCode

func (o *GetDomainsDomainIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the get domains domain ID default response

func (*GetDomainsDomainIDDefault) WithPayload

WithPayload adds the payload to the get domains domain ID default response

func (*GetDomainsDomainIDDefault) WithStatusCode

func (o *GetDomainsDomainIDDefault) WithStatusCode(code int) *GetDomainsDomainIDDefault

WithStatusCode adds the status to the get domains domain ID default response

func (*GetDomainsDomainIDDefault) WriteResponse

func (o *GetDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDomainsDomainIDHandler

type GetDomainsDomainIDHandler interface {
	Handle(GetDomainsDomainIDParams) middleware.Responder
}

GetDomainsDomainIDHandler interface for that can handle valid get domains domain ID params

type GetDomainsDomainIDHandlerFunc

type GetDomainsDomainIDHandlerFunc func(GetDomainsDomainIDParams) middleware.Responder

GetDomainsDomainIDHandlerFunc turns a function with the right signature into a get domains domain ID handler

func (GetDomainsDomainIDHandlerFunc) Handle

Handle executing the request and returning a response

type GetDomainsDomainIDNotFound

type GetDomainsDomainIDNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

GetDomainsDomainIDNotFound Not Found

swagger:response getDomainsDomainIdNotFound

func NewGetDomainsDomainIDNotFound

func NewGetDomainsDomainIDNotFound() *GetDomainsDomainIDNotFound

NewGetDomainsDomainIDNotFound creates GetDomainsDomainIDNotFound with default headers values

func (*GetDomainsDomainIDNotFound) SetPayload

func (o *GetDomainsDomainIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the get domains domain Id not found response

func (*GetDomainsDomainIDNotFound) WithPayload

WithPayload adds the payload to the get domains domain Id not found response

func (*GetDomainsDomainIDNotFound) WriteResponse

func (o *GetDomainsDomainIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDomainsDomainIDOK

type GetDomainsDomainIDOK struct {

	/*
	  In: Body
	*/
	Payload *GetDomainsDomainIDOKBody `json:"body,omitempty"`
}

GetDomainsDomainIDOK Shows the details of a specific domain.

swagger:response getDomainsDomainIdOK

func NewGetDomainsDomainIDOK

func NewGetDomainsDomainIDOK() *GetDomainsDomainIDOK

NewGetDomainsDomainIDOK creates GetDomainsDomainIDOK with default headers values

func (*GetDomainsDomainIDOK) SetPayload

func (o *GetDomainsDomainIDOK) SetPayload(payload *GetDomainsDomainIDOKBody)

SetPayload sets the payload to the get domains domain Id o k response

func (*GetDomainsDomainIDOK) WithPayload

WithPayload adds the payload to the get domains domain Id o k response

func (*GetDomainsDomainIDOK) WriteResponse

func (o *GetDomainsDomainIDOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDomainsDomainIDOKBody

type GetDomainsDomainIDOKBody struct {

	// domain
	Domain *models.Domain `json:"domain,omitempty"`
}

GetDomainsDomainIDOKBody get domains domain ID o k body

swagger:model GetDomainsDomainIDOKBody

func (*GetDomainsDomainIDOKBody) ContextValidate

func (o *GetDomainsDomainIDOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get domains domain ID o k body based on the context it is used

func (*GetDomainsDomainIDOKBody) MarshalBinary

func (o *GetDomainsDomainIDOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDomainsDomainIDOKBody) UnmarshalBinary

func (o *GetDomainsDomainIDOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDomainsDomainIDOKBody) Validate

func (o *GetDomainsDomainIDOKBody) Validate(formats strfmt.Registry) error

Validate validates this get domains domain ID o k body

type GetDomainsDomainIDParams

type GetDomainsDomainIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*The UUID of the domain
	  Required: true
	  In: path
	*/
	DomainID strfmt.UUID
}

GetDomainsDomainIDParams contains all the bound params for the get domains domain ID operation typically these are obtained from a http.Request

swagger:parameters GetDomainsDomainID

func NewGetDomainsDomainIDParams

func NewGetDomainsDomainIDParams() GetDomainsDomainIDParams

NewGetDomainsDomainIDParams creates a new GetDomainsDomainIDParams object

There are no default values defined in the spec.

func (*GetDomainsDomainIDParams) BindRequest

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 NewGetDomainsDomainIDParams() beforehand.

type GetDomainsDomainIDURL

type GetDomainsDomainIDURL struct {
	DomainID strfmt.UUID
	// contains filtered or unexported fields
}

GetDomainsDomainIDURL generates an URL for the get domains domain ID operation

func (*GetDomainsDomainIDURL) Build

func (o *GetDomainsDomainIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetDomainsDomainIDURL) BuildFull

func (o *GetDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetDomainsDomainIDURL) Must

func (o *GetDomainsDomainIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetDomainsDomainIDURL) SetBasePath

func (o *GetDomainsDomainIDURL) 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 (*GetDomainsDomainIDURL) String

func (o *GetDomainsDomainIDURL) String() string

String returns the string representation of the path with query string

func (*GetDomainsDomainIDURL) StringFull

func (o *GetDomainsDomainIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetDomainsDomainIDURL) WithBasePath

func (o *GetDomainsDomainIDURL) WithBasePath(bp string) *GetDomainsDomainIDURL

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

type GetDomainsHandler

type GetDomainsHandler interface {
	Handle(GetDomainsParams) middleware.Responder
}

GetDomainsHandler interface for that can handle valid get domains params

type GetDomainsHandlerFunc

type GetDomainsHandlerFunc func(GetDomainsParams) middleware.Responder

GetDomainsHandlerFunc turns a function with the right signature into a get domains handler

func (GetDomainsHandlerFunc) Handle

Handle executing the request and returning a response

type GetDomainsOK

type GetDomainsOK struct {

	/*
	  In: Body
	*/
	Payload *GetDomainsOKBody `json:"body,omitempty"`
}

GetDomainsOK A JSON array of domains

swagger:response getDomainsOK

func NewGetDomainsOK

func NewGetDomainsOK() *GetDomainsOK

NewGetDomainsOK creates GetDomainsOK with default headers values

func (*GetDomainsOK) SetPayload

func (o *GetDomainsOK) SetPayload(payload *GetDomainsOKBody)

SetPayload sets the payload to the get domains o k response

func (*GetDomainsOK) WithPayload

func (o *GetDomainsOK) WithPayload(payload *GetDomainsOKBody) *GetDomainsOK

WithPayload adds the payload to the get domains o k response

func (*GetDomainsOK) WriteResponse

func (o *GetDomainsOK) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type GetDomainsOKBody

type GetDomainsOKBody struct {

	// domains
	Domains []*models.Domain `json:"domains"`

	// links
	Links []*models.Link `json:"links,omitempty"`
}

GetDomainsOKBody get domains o k body

swagger:model GetDomainsOKBody

func (*GetDomainsOKBody) ContextValidate

func (o *GetDomainsOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this get domains o k body based on the context it is used

func (*GetDomainsOKBody) MarshalBinary

func (o *GetDomainsOKBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GetDomainsOKBody) UnmarshalBinary

func (o *GetDomainsOKBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GetDomainsOKBody) Validate

func (o *GetDomainsOKBody) Validate(formats strfmt.Registry) error

Validate validates this get domains o k body

type GetDomainsParams

type GetDomainsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*Sets the page size.
	  In: query
	*/
	Limit *int64
	/*Pagination ID of the last item in the previous list.
	  In: query
	*/
	Marker *strfmt.UUID
	/*Filter for resources not having tags, multiple not-tags are considered as logical AND.
	Should be provided in a comma separated list.

	  In: query
	*/
	NotTags []string
	/*Filter for resources not having tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	  In: query
	*/
	NotTagsAny []string
	/*Sets the page direction.
	  In: query
	*/
	PageReverse *bool
	/*Comma-separated list of sort keys, optinally prefix with - to reverse sort order.
	  In: query
	*/
	Sort *string
	/*Filter for tags, multiple tags are considered as logical AND.
	Should be provided in a comma separated list.

	  In: query
	*/
	Tags []string
	/*Filter for tags, multiple tags are considered as logical OR.
	Should be provided in a comma separated list.

	  In: query
	*/
	TagsAny []string
}

GetDomainsParams contains all the bound params for the get domains operation typically these are obtained from a http.Request

swagger:parameters GetDomains

func NewGetDomainsParams

func NewGetDomainsParams() GetDomainsParams

NewGetDomainsParams creates a new GetDomainsParams object

There are no default values defined in the spec.

func (*GetDomainsParams) BindRequest

func (o *GetDomainsParams) 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 NewGetDomainsParams() beforehand.

type GetDomainsURL

type GetDomainsURL struct {
	Limit       *int64
	Marker      *strfmt.UUID
	NotTags     []string
	NotTagsAny  []string
	PageReverse *bool
	Sort        *string
	Tags        []string
	TagsAny     []string
	// contains filtered or unexported fields
}

GetDomainsURL generates an URL for the get domains operation

func (*GetDomainsURL) Build

func (o *GetDomainsURL) Build() (*url.URL, error)

Build a url path and query string

func (*GetDomainsURL) BuildFull

func (o *GetDomainsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*GetDomainsURL) Must

func (o *GetDomainsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*GetDomainsURL) SetBasePath

func (o *GetDomainsURL) 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 (*GetDomainsURL) String

func (o *GetDomainsURL) String() string

String returns the string representation of the path with query string

func (*GetDomainsURL) StringFull

func (o *GetDomainsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*GetDomainsURL) WithBasePath

func (o *GetDomainsURL) WithBasePath(bp string) *GetDomainsURL

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

type PostDomains

type PostDomains struct {
	Context *middleware.Context
	Handler PostDomainsHandler
}
PostDomains swagger:route POST /domains Domains postDomains

Create new domain

func NewPostDomains

func NewPostDomains(ctx *middleware.Context, handler PostDomainsHandler) *PostDomains

NewPostDomains creates a new http.Handler for the post domains operation

func (*PostDomains) ServeHTTP

func (o *PostDomains) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PostDomainsBadRequest

type PostDomainsBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

PostDomainsBadRequest Bad request

swagger:response postDomainsBadRequest

func NewPostDomainsBadRequest

func NewPostDomainsBadRequest() *PostDomainsBadRequest

NewPostDomainsBadRequest creates PostDomainsBadRequest with default headers values

func (*PostDomainsBadRequest) SetPayload

func (o *PostDomainsBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the post domains bad request response

func (*PostDomainsBadRequest) WithPayload

func (o *PostDomainsBadRequest) WithPayload(payload *models.Error) *PostDomainsBadRequest

WithPayload adds the payload to the post domains bad request response

func (*PostDomainsBadRequest) WriteResponse

func (o *PostDomainsBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostDomainsBody

type PostDomainsBody struct {

	// domain
	// Required: true
	Domain *models.Domain `json:"domain"`
}

PostDomainsBody post domains body

swagger:model PostDomainsBody

func (*PostDomainsBody) ContextValidate

func (o *PostDomainsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this post domains body based on the context it is used

func (*PostDomainsBody) MarshalBinary

func (o *PostDomainsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostDomainsBody) UnmarshalBinary

func (o *PostDomainsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostDomainsBody) Validate

func (o *PostDomainsBody) Validate(formats strfmt.Registry) error

Validate validates this post domains body

type PostDomainsCreated

type PostDomainsCreated struct {

	/*
	  In: Body
	*/
	Payload *PostDomainsCreatedBody `json:"body,omitempty"`
}

PostDomainsCreated Created domain.

swagger:response postDomainsCreated

func NewPostDomainsCreated

func NewPostDomainsCreated() *PostDomainsCreated

NewPostDomainsCreated creates PostDomainsCreated with default headers values

func (*PostDomainsCreated) SetPayload

func (o *PostDomainsCreated) SetPayload(payload *PostDomainsCreatedBody)

SetPayload sets the payload to the post domains created response

func (*PostDomainsCreated) WithPayload

WithPayload adds the payload to the post domains created response

func (*PostDomainsCreated) WriteResponse

func (o *PostDomainsCreated) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostDomainsCreatedBody

type PostDomainsCreatedBody struct {

	// domain
	Domain *models.Domain `json:"domain,omitempty"`
}

PostDomainsCreatedBody post domains created body

swagger:model PostDomainsCreatedBody

func (*PostDomainsCreatedBody) ContextValidate

func (o *PostDomainsCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this post domains created body based on the context it is used

func (*PostDomainsCreatedBody) MarshalBinary

func (o *PostDomainsCreatedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PostDomainsCreatedBody) UnmarshalBinary

func (o *PostDomainsCreatedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PostDomainsCreatedBody) Validate

func (o *PostDomainsCreatedBody) Validate(formats strfmt.Registry) error

Validate validates this post domains created body

type PostDomainsDefault

type PostDomainsDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PostDomainsDefault Unexpected Error

swagger:response postDomainsDefault

func NewPostDomainsDefault

func NewPostDomainsDefault(code int) *PostDomainsDefault

NewPostDomainsDefault creates PostDomainsDefault with default headers values

func (*PostDomainsDefault) SetPayload

func (o *PostDomainsDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the post domains default response

func (*PostDomainsDefault) SetStatusCode

func (o *PostDomainsDefault) SetStatusCode(code int)

SetStatusCode sets the status to the post domains default response

func (*PostDomainsDefault) WithPayload

func (o *PostDomainsDefault) WithPayload(payload *models.Error) *PostDomainsDefault

WithPayload adds the payload to the post domains default response

func (*PostDomainsDefault) WithStatusCode

func (o *PostDomainsDefault) WithStatusCode(code int) *PostDomainsDefault

WithStatusCode adds the status to the post domains default response

func (*PostDomainsDefault) WriteResponse

func (o *PostDomainsDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PostDomainsHandler

type PostDomainsHandler interface {
	Handle(PostDomainsParams) middleware.Responder
}

PostDomainsHandler interface for that can handle valid post domains params

type PostDomainsHandlerFunc

type PostDomainsHandlerFunc func(PostDomainsParams) middleware.Responder

PostDomainsHandlerFunc turns a function with the right signature into a post domains handler

func (PostDomainsHandlerFunc) Handle

Handle executing the request and returning a response

type PostDomainsParams

type PostDomainsParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Domain PostDomainsBody
}

PostDomainsParams contains all the bound params for the post domains operation typically these are obtained from a http.Request

swagger:parameters PostDomains

func NewPostDomainsParams

func NewPostDomainsParams() PostDomainsParams

NewPostDomainsParams creates a new PostDomainsParams object

There are no default values defined in the spec.

func (*PostDomainsParams) BindRequest

func (o *PostDomainsParams) 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 NewPostDomainsParams() beforehand.

type PostDomainsURL

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

PostDomainsURL generates an URL for the post domains operation

func (*PostDomainsURL) Build

func (o *PostDomainsURL) Build() (*url.URL, error)

Build a url path and query string

func (*PostDomainsURL) BuildFull

func (o *PostDomainsURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PostDomainsURL) Must

func (o *PostDomainsURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PostDomainsURL) SetBasePath

func (o *PostDomainsURL) 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 (*PostDomainsURL) String

func (o *PostDomainsURL) String() string

String returns the string representation of the path with query string

func (*PostDomainsURL) StringFull

func (o *PostDomainsURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PostDomainsURL) WithBasePath

func (o *PostDomainsURL) WithBasePath(bp string) *PostDomainsURL

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

type PutDomainsDomainID

type PutDomainsDomainID struct {
	Context *middleware.Context
	Handler PutDomainsDomainIDHandler
}
PutDomainsDomainID swagger:route PUT /domains/{domain_id} Domains putDomainsDomainId

Update a domain

func NewPutDomainsDomainID

func NewPutDomainsDomainID(ctx *middleware.Context, handler PutDomainsDomainIDHandler) *PutDomainsDomainID

NewPutDomainsDomainID creates a new http.Handler for the put domains domain ID operation

func (*PutDomainsDomainID) ServeHTTP

func (o *PutDomainsDomainID) ServeHTTP(rw http.ResponseWriter, r *http.Request)

type PutDomainsDomainIDAccepted

type PutDomainsDomainIDAccepted struct {

	/*
	  In: Body
	*/
	Payload *PutDomainsDomainIDAcceptedBody `json:"body,omitempty"`
}

PutDomainsDomainIDAccepted Updated domain.

swagger:response putDomainsDomainIdAccepted

func NewPutDomainsDomainIDAccepted

func NewPutDomainsDomainIDAccepted() *PutDomainsDomainIDAccepted

NewPutDomainsDomainIDAccepted creates PutDomainsDomainIDAccepted with default headers values

func (*PutDomainsDomainIDAccepted) SetPayload

SetPayload sets the payload to the put domains domain Id accepted response

func (*PutDomainsDomainIDAccepted) WithPayload

WithPayload adds the payload to the put domains domain Id accepted response

func (*PutDomainsDomainIDAccepted) WriteResponse

func (o *PutDomainsDomainIDAccepted) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutDomainsDomainIDAcceptedBody

type PutDomainsDomainIDAcceptedBody struct {

	// domain
	Domain *models.Domain `json:"domain,omitempty"`
}

PutDomainsDomainIDAcceptedBody put domains domain ID accepted body

swagger:model PutDomainsDomainIDAcceptedBody

func (*PutDomainsDomainIDAcceptedBody) ContextValidate

func (o *PutDomainsDomainIDAcceptedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this put domains domain ID accepted body based on the context it is used

func (*PutDomainsDomainIDAcceptedBody) MarshalBinary

func (o *PutDomainsDomainIDAcceptedBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutDomainsDomainIDAcceptedBody) UnmarshalBinary

func (o *PutDomainsDomainIDAcceptedBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutDomainsDomainIDAcceptedBody) Validate

func (o *PutDomainsDomainIDAcceptedBody) Validate(formats strfmt.Registry) error

Validate validates this put domains domain ID accepted body

type PutDomainsDomainIDBadRequest

type PutDomainsDomainIDBadRequest struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

PutDomainsDomainIDBadRequest Bad request

swagger:response putDomainsDomainIdBadRequest

func NewPutDomainsDomainIDBadRequest

func NewPutDomainsDomainIDBadRequest() *PutDomainsDomainIDBadRequest

NewPutDomainsDomainIDBadRequest creates PutDomainsDomainIDBadRequest with default headers values

func (*PutDomainsDomainIDBadRequest) SetPayload

func (o *PutDomainsDomainIDBadRequest) SetPayload(payload *models.Error)

SetPayload sets the payload to the put domains domain Id bad request response

func (*PutDomainsDomainIDBadRequest) WithPayload

WithPayload adds the payload to the put domains domain Id bad request response

func (*PutDomainsDomainIDBadRequest) WriteResponse

func (o *PutDomainsDomainIDBadRequest) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutDomainsDomainIDBody

type PutDomainsDomainIDBody struct {

	// domain
	// Required: true
	Domain *models.Domain `json:"domain"`
}

PutDomainsDomainIDBody put domains domain ID body

swagger:model PutDomainsDomainIDBody

func (*PutDomainsDomainIDBody) ContextValidate

func (o *PutDomainsDomainIDBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this put domains domain ID body based on the context it is used

func (*PutDomainsDomainIDBody) MarshalBinary

func (o *PutDomainsDomainIDBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PutDomainsDomainIDBody) UnmarshalBinary

func (o *PutDomainsDomainIDBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PutDomainsDomainIDBody) Validate

func (o *PutDomainsDomainIDBody) Validate(formats strfmt.Registry) error

Validate validates this put domains domain ID body

type PutDomainsDomainIDDefault

type PutDomainsDomainIDDefault struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
	// contains filtered or unexported fields
}

PutDomainsDomainIDDefault Unexpected Error

swagger:response putDomainsDomainIdDefault

func NewPutDomainsDomainIDDefault

func NewPutDomainsDomainIDDefault(code int) *PutDomainsDomainIDDefault

NewPutDomainsDomainIDDefault creates PutDomainsDomainIDDefault with default headers values

func (*PutDomainsDomainIDDefault) SetPayload

func (o *PutDomainsDomainIDDefault) SetPayload(payload *models.Error)

SetPayload sets the payload to the put domains domain ID default response

func (*PutDomainsDomainIDDefault) SetStatusCode

func (o *PutDomainsDomainIDDefault) SetStatusCode(code int)

SetStatusCode sets the status to the put domains domain ID default response

func (*PutDomainsDomainIDDefault) WithPayload

WithPayload adds the payload to the put domains domain ID default response

func (*PutDomainsDomainIDDefault) WithStatusCode

func (o *PutDomainsDomainIDDefault) WithStatusCode(code int) *PutDomainsDomainIDDefault

WithStatusCode adds the status to the put domains domain ID default response

func (*PutDomainsDomainIDDefault) WriteResponse

func (o *PutDomainsDomainIDDefault) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutDomainsDomainIDHandler

type PutDomainsDomainIDHandler interface {
	Handle(PutDomainsDomainIDParams) middleware.Responder
}

PutDomainsDomainIDHandler interface for that can handle valid put domains domain ID params

type PutDomainsDomainIDHandlerFunc

type PutDomainsDomainIDHandlerFunc func(PutDomainsDomainIDParams) middleware.Responder

PutDomainsDomainIDHandlerFunc turns a function with the right signature into a put domains domain ID handler

func (PutDomainsDomainIDHandlerFunc) Handle

Handle executing the request and returning a response

type PutDomainsDomainIDNotFound

type PutDomainsDomainIDNotFound struct {

	/*
	  In: Body
	*/
	Payload *models.Error `json:"body,omitempty"`
}

PutDomainsDomainIDNotFound Not Found

swagger:response putDomainsDomainIdNotFound

func NewPutDomainsDomainIDNotFound

func NewPutDomainsDomainIDNotFound() *PutDomainsDomainIDNotFound

NewPutDomainsDomainIDNotFound creates PutDomainsDomainIDNotFound with default headers values

func (*PutDomainsDomainIDNotFound) SetPayload

func (o *PutDomainsDomainIDNotFound) SetPayload(payload *models.Error)

SetPayload sets the payload to the put domains domain Id not found response

func (*PutDomainsDomainIDNotFound) WithPayload

WithPayload adds the payload to the put domains domain Id not found response

func (*PutDomainsDomainIDNotFound) WriteResponse

func (o *PutDomainsDomainIDNotFound) WriteResponse(rw http.ResponseWriter, producer runtime.Producer)

WriteResponse to the client

type PutDomainsDomainIDParams

type PutDomainsDomainIDParams struct {

	// HTTP Request Object
	HTTPRequest *http.Request `json:"-"`

	/*
	  Required: true
	  In: body
	*/
	Domain PutDomainsDomainIDBody
	/*The UUID of the domain
	  Required: true
	  In: path
	*/
	DomainID strfmt.UUID
}

PutDomainsDomainIDParams contains all the bound params for the put domains domain ID operation typically these are obtained from a http.Request

swagger:parameters PutDomainsDomainID

func NewPutDomainsDomainIDParams

func NewPutDomainsDomainIDParams() PutDomainsDomainIDParams

NewPutDomainsDomainIDParams creates a new PutDomainsDomainIDParams object

There are no default values defined in the spec.

func (*PutDomainsDomainIDParams) BindRequest

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 NewPutDomainsDomainIDParams() beforehand.

type PutDomainsDomainIDURL

type PutDomainsDomainIDURL struct {
	DomainID strfmt.UUID
	// contains filtered or unexported fields
}

PutDomainsDomainIDURL generates an URL for the put domains domain ID operation

func (*PutDomainsDomainIDURL) Build

func (o *PutDomainsDomainIDURL) Build() (*url.URL, error)

Build a url path and query string

func (*PutDomainsDomainIDURL) BuildFull

func (o *PutDomainsDomainIDURL) BuildFull(scheme, host string) (*url.URL, error)

BuildFull builds a full url with scheme, host, path and query string

func (*PutDomainsDomainIDURL) Must

func (o *PutDomainsDomainIDURL) Must(u *url.URL, err error) *url.URL

Must is a helper function to panic when the url builder returns an error

func (*PutDomainsDomainIDURL) SetBasePath

func (o *PutDomainsDomainIDURL) 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 (*PutDomainsDomainIDURL) String

func (o *PutDomainsDomainIDURL) String() string

String returns the string representation of the path with query string

func (*PutDomainsDomainIDURL) StringFull

func (o *PutDomainsDomainIDURL) StringFull(scheme, host string) string

StringFull returns the string representation of a complete url

func (*PutDomainsDomainIDURL) WithBasePath

func (o *PutDomainsDomainIDURL) WithBasePath(bp string) *PutDomainsDomainIDURL

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

Jump to

Keyboard shortcuts

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