edge_router

package
v0.0.0-...-31bffcd Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const CreateEdgeRouterBadRequestCode int = 400

CreateEdgeRouterBadRequestCode is the HTTP code returned for type CreateEdgeRouterBadRequest

View Source
const CreateEdgeRouterCreatedCode int = 201

CreateEdgeRouterCreatedCode is the HTTP code returned for type CreateEdgeRouterCreated

View Source
const CreateEdgeRouterUnauthorizedCode int = 401

CreateEdgeRouterUnauthorizedCode is the HTTP code returned for type CreateEdgeRouterUnauthorized

View Source
const DeleteEdgeRouterBadRequestCode int = 400

DeleteEdgeRouterBadRequestCode is the HTTP code returned for type DeleteEdgeRouterBadRequest

View Source
const DeleteEdgeRouterConflictCode int = 409

DeleteEdgeRouterConflictCode is the HTTP code returned for type DeleteEdgeRouterConflict

View Source
const DeleteEdgeRouterOKCode int = 200

DeleteEdgeRouterOKCode is the HTTP code returned for type DeleteEdgeRouterOK

View Source
const DeleteEdgeRouterUnauthorizedCode int = 401

DeleteEdgeRouterUnauthorizedCode is the HTTP code returned for type DeleteEdgeRouterUnauthorized

View Source
const DetailEdgeRouterNotFoundCode int = 404

DetailEdgeRouterNotFoundCode is the HTTP code returned for type DetailEdgeRouterNotFound

View Source
const DetailEdgeRouterOKCode int = 200

DetailEdgeRouterOKCode is the HTTP code returned for type DetailEdgeRouterOK

View Source
const DetailEdgeRouterUnauthorizedCode int = 401

DetailEdgeRouterUnauthorizedCode is the HTTP code returned for type DetailEdgeRouterUnauthorized

View Source
const ListEdgeRouterEdgeRouterPoliciesNotFoundCode int = 404

ListEdgeRouterEdgeRouterPoliciesNotFoundCode is the HTTP code returned for type ListEdgeRouterEdgeRouterPoliciesNotFound

View Source
const ListEdgeRouterEdgeRouterPoliciesOKCode int = 200

ListEdgeRouterEdgeRouterPoliciesOKCode is the HTTP code returned for type ListEdgeRouterEdgeRouterPoliciesOK

View Source
const ListEdgeRouterEdgeRouterPoliciesUnauthorizedCode int = 401

ListEdgeRouterEdgeRouterPoliciesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterEdgeRouterPoliciesUnauthorized

View Source
const ListEdgeRouterIdentitiesNotFoundCode int = 404

ListEdgeRouterIdentitiesNotFoundCode is the HTTP code returned for type ListEdgeRouterIdentitiesNotFound

View Source
const ListEdgeRouterIdentitiesOKCode int = 200

ListEdgeRouterIdentitiesOKCode is the HTTP code returned for type ListEdgeRouterIdentitiesOK

View Source
const ListEdgeRouterIdentitiesUnauthorizedCode int = 401

ListEdgeRouterIdentitiesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterIdentitiesUnauthorized

View Source
const ListEdgeRouterServiceEdgeRouterPoliciesNotFoundCode int = 404

ListEdgeRouterServiceEdgeRouterPoliciesNotFoundCode is the HTTP code returned for type ListEdgeRouterServiceEdgeRouterPoliciesNotFound

View Source
const ListEdgeRouterServiceEdgeRouterPoliciesOKCode int = 200

ListEdgeRouterServiceEdgeRouterPoliciesOKCode is the HTTP code returned for type ListEdgeRouterServiceEdgeRouterPoliciesOK

View Source
const ListEdgeRouterServiceEdgeRouterPoliciesUnauthorizedCode int = 401

ListEdgeRouterServiceEdgeRouterPoliciesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

View Source
const ListEdgeRouterServicesNotFoundCode int = 404

ListEdgeRouterServicesNotFoundCode is the HTTP code returned for type ListEdgeRouterServicesNotFound

View Source
const ListEdgeRouterServicesOKCode int = 200

ListEdgeRouterServicesOKCode is the HTTP code returned for type ListEdgeRouterServicesOK

View Source
const ListEdgeRouterServicesUnauthorizedCode int = 401

ListEdgeRouterServicesUnauthorizedCode is the HTTP code returned for type ListEdgeRouterServicesUnauthorized

View Source
const ListEdgeRoutersBadRequestCode int = 400

ListEdgeRoutersBadRequestCode is the HTTP code returned for type ListEdgeRoutersBadRequest

View Source
const ListEdgeRoutersOKCode int = 200

ListEdgeRoutersOKCode is the HTTP code returned for type ListEdgeRoutersOK

View Source
const ListEdgeRoutersUnauthorizedCode int = 401

ListEdgeRoutersUnauthorizedCode is the HTTP code returned for type ListEdgeRoutersUnauthorized

View Source
const PatchEdgeRouterBadRequestCode int = 400

PatchEdgeRouterBadRequestCode is the HTTP code returned for type PatchEdgeRouterBadRequest

View Source
const PatchEdgeRouterNotFoundCode int = 404

PatchEdgeRouterNotFoundCode is the HTTP code returned for type PatchEdgeRouterNotFound

View Source
const PatchEdgeRouterOKCode int = 200

PatchEdgeRouterOKCode is the HTTP code returned for type PatchEdgeRouterOK

View Source
const PatchEdgeRouterUnauthorizedCode int = 401

PatchEdgeRouterUnauthorizedCode is the HTTP code returned for type PatchEdgeRouterUnauthorized

View Source
const ReEnrollEdgeRouterNotFoundCode int = 404

ReEnrollEdgeRouterNotFoundCode is the HTTP code returned for type ReEnrollEdgeRouterNotFound

View Source
const ReEnrollEdgeRouterOKCode int = 200

ReEnrollEdgeRouterOKCode is the HTTP code returned for type ReEnrollEdgeRouterOK

View Source
const ReEnrollEdgeRouterUnauthorizedCode int = 401

ReEnrollEdgeRouterUnauthorizedCode is the HTTP code returned for type ReEnrollEdgeRouterUnauthorized

View Source
const UpdateEdgeRouterBadRequestCode int = 400

UpdateEdgeRouterBadRequestCode is the HTTP code returned for type UpdateEdgeRouterBadRequest

View Source
const UpdateEdgeRouterNotFoundCode int = 404

UpdateEdgeRouterNotFoundCode is the HTTP code returned for type UpdateEdgeRouterNotFound

View Source
const UpdateEdgeRouterOKCode int = 200

UpdateEdgeRouterOKCode is the HTTP code returned for type UpdateEdgeRouterOK

View Source
const UpdateEdgeRouterUnauthorizedCode int = 401

UpdateEdgeRouterUnauthorizedCode is the HTTP code returned for type UpdateEdgeRouterUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateEdgeRouter

type CreateEdgeRouter struct {
	Context *middleware.Context
	Handler CreateEdgeRouterHandler
}
CreateEdgeRouter swagger:route POST /edge-routers Edge Router createEdgeRouter

Create an edge router

Create a edge router resource. Requires admin access.

func NewCreateEdgeRouter

func NewCreateEdgeRouter(ctx *middleware.Context, handler CreateEdgeRouterHandler) *CreateEdgeRouter

NewCreateEdgeRouter creates a new http.Handler for the create edge router operation

func (*CreateEdgeRouter) ServeHTTP

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

type CreateEdgeRouterBadRequest

type CreateEdgeRouterBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateEdgeRouterBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response createEdgeRouterBadRequest

func NewCreateEdgeRouterBadRequest

func NewCreateEdgeRouterBadRequest() *CreateEdgeRouterBadRequest

NewCreateEdgeRouterBadRequest creates CreateEdgeRouterBadRequest with default headers values

func (*CreateEdgeRouterBadRequest) SetPayload

func (o *CreateEdgeRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the create edge router bad request response

func (*CreateEdgeRouterBadRequest) WithPayload

WithPayload adds the payload to the create edge router bad request response

func (*CreateEdgeRouterBadRequest) WriteResponse

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

WriteResponse to the client

type CreateEdgeRouterCreated

type CreateEdgeRouterCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model.CreateEnvelope `json:"body,omitempty"`
}

CreateEdgeRouterCreated The create request was successful and the resource has been added at the following location

swagger:response createEdgeRouterCreated

func NewCreateEdgeRouterCreated

func NewCreateEdgeRouterCreated() *CreateEdgeRouterCreated

NewCreateEdgeRouterCreated creates CreateEdgeRouterCreated with default headers values

func (*CreateEdgeRouterCreated) SetPayload

func (o *CreateEdgeRouterCreated) SetPayload(payload *rest_model.CreateEnvelope)

SetPayload sets the payload to the create edge router created response

func (*CreateEdgeRouterCreated) WithPayload

WithPayload adds the payload to the create edge router created response

func (*CreateEdgeRouterCreated) WriteResponse

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

WriteResponse to the client

type CreateEdgeRouterHandler

type CreateEdgeRouterHandler interface {
	Handle(CreateEdgeRouterParams, interface{}) middleware.Responder
}

CreateEdgeRouterHandler interface for that can handle valid create edge router params

type CreateEdgeRouterHandlerFunc

type CreateEdgeRouterHandlerFunc func(CreateEdgeRouterParams, interface{}) middleware.Responder

CreateEdgeRouterHandlerFunc turns a function with the right signature into a create edge router handler

func (CreateEdgeRouterHandlerFunc) Handle

func (fn CreateEdgeRouterHandlerFunc) Handle(params CreateEdgeRouterParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type CreateEdgeRouterParams

type CreateEdgeRouterParams struct {

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

	/*A edge router to create
	  Required: true
	  In: body
	*/
	EdgeRouter *rest_model.EdgeRouterCreate
}

CreateEdgeRouterParams contains all the bound params for the create edge router operation typically these are obtained from a http.Request

swagger:parameters createEdgeRouter

func NewCreateEdgeRouterParams

func NewCreateEdgeRouterParams() CreateEdgeRouterParams

NewCreateEdgeRouterParams creates a new CreateEdgeRouterParams object

There are no default values defined in the spec.

func (*CreateEdgeRouterParams) BindRequest

func (o *CreateEdgeRouterParams) 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 NewCreateEdgeRouterParams() beforehand.

type CreateEdgeRouterURL

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

CreateEdgeRouterURL generates an URL for the create edge router operation

func (*CreateEdgeRouterURL) Build

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

Build a url path and query string

func (*CreateEdgeRouterURL) BuildFull

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

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

func (*CreateEdgeRouterURL) Must

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

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

func (*CreateEdgeRouterURL) SetBasePath

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

func (o *CreateEdgeRouterURL) String() string

String returns the string representation of the path with query string

func (*CreateEdgeRouterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateEdgeRouterURL) WithBasePath

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

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 CreateEdgeRouterUnauthorized

type CreateEdgeRouterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

CreateEdgeRouterUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response createEdgeRouterUnauthorized

func NewCreateEdgeRouterUnauthorized

func NewCreateEdgeRouterUnauthorized() *CreateEdgeRouterUnauthorized

NewCreateEdgeRouterUnauthorized creates CreateEdgeRouterUnauthorized with default headers values

func (*CreateEdgeRouterUnauthorized) SetPayload

SetPayload sets the payload to the create edge router unauthorized response

func (*CreateEdgeRouterUnauthorized) WithPayload

WithPayload adds the payload to the create edge router unauthorized response

func (*CreateEdgeRouterUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteEdgeRouter

type DeleteEdgeRouter struct {
	Context *middleware.Context
	Handler DeleteEdgeRouterHandler
}
DeleteEdgeRouter swagger:route DELETE /edge-routers/{id} Edge Router deleteEdgeRouter

Delete an edge router

Delete an edge router by id. Requires admin access.

func NewDeleteEdgeRouter

func NewDeleteEdgeRouter(ctx *middleware.Context, handler DeleteEdgeRouterHandler) *DeleteEdgeRouter

NewDeleteEdgeRouter creates a new http.Handler for the delete edge router operation

func (*DeleteEdgeRouter) ServeHTTP

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

type DeleteEdgeRouterBadRequest

type DeleteEdgeRouterBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteEdgeRouterBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response deleteEdgeRouterBadRequest

func NewDeleteEdgeRouterBadRequest

func NewDeleteEdgeRouterBadRequest() *DeleteEdgeRouterBadRequest

NewDeleteEdgeRouterBadRequest creates DeleteEdgeRouterBadRequest with default headers values

func (*DeleteEdgeRouterBadRequest) SetPayload

func (o *DeleteEdgeRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete edge router bad request response

func (*DeleteEdgeRouterBadRequest) WithPayload

WithPayload adds the payload to the delete edge router bad request response

func (*DeleteEdgeRouterBadRequest) WriteResponse

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

WriteResponse to the client

type DeleteEdgeRouterConflict

type DeleteEdgeRouterConflict struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteEdgeRouterConflict The resource requested to be removed/altered cannot be as it is referenced by another object.

swagger:response deleteEdgeRouterConflict

func NewDeleteEdgeRouterConflict

func NewDeleteEdgeRouterConflict() *DeleteEdgeRouterConflict

NewDeleteEdgeRouterConflict creates DeleteEdgeRouterConflict with default headers values

func (*DeleteEdgeRouterConflict) SetPayload

func (o *DeleteEdgeRouterConflict) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the delete edge router conflict response

func (*DeleteEdgeRouterConflict) WithPayload

WithPayload adds the payload to the delete edge router conflict response

func (*DeleteEdgeRouterConflict) WriteResponse

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

WriteResponse to the client

type DeleteEdgeRouterHandler

type DeleteEdgeRouterHandler interface {
	Handle(DeleteEdgeRouterParams, interface{}) middleware.Responder
}

DeleteEdgeRouterHandler interface for that can handle valid delete edge router params

type DeleteEdgeRouterHandlerFunc

type DeleteEdgeRouterHandlerFunc func(DeleteEdgeRouterParams, interface{}) middleware.Responder

DeleteEdgeRouterHandlerFunc turns a function with the right signature into a delete edge router handler

func (DeleteEdgeRouterHandlerFunc) Handle

func (fn DeleteEdgeRouterHandlerFunc) Handle(params DeleteEdgeRouterParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DeleteEdgeRouterOK

type DeleteEdgeRouterOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

DeleteEdgeRouterOK The delete request was successful and the resource has been removed

swagger:response deleteEdgeRouterOK

func NewDeleteEdgeRouterOK

func NewDeleteEdgeRouterOK() *DeleteEdgeRouterOK

NewDeleteEdgeRouterOK creates DeleteEdgeRouterOK with default headers values

func (*DeleteEdgeRouterOK) SetPayload

func (o *DeleteEdgeRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the delete edge router o k response

func (*DeleteEdgeRouterOK) WithPayload

func (o *DeleteEdgeRouterOK) WithPayload(payload *rest_model.Empty) *DeleteEdgeRouterOK

WithPayload adds the payload to the delete edge router o k response

func (*DeleteEdgeRouterOK) WriteResponse

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

WriteResponse to the client

type DeleteEdgeRouterParams

type DeleteEdgeRouterParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DeleteEdgeRouterParams contains all the bound params for the delete edge router operation typically these are obtained from a http.Request

swagger:parameters deleteEdgeRouter

func NewDeleteEdgeRouterParams

func NewDeleteEdgeRouterParams() DeleteEdgeRouterParams

NewDeleteEdgeRouterParams creates a new DeleteEdgeRouterParams object

There are no default values defined in the spec.

func (*DeleteEdgeRouterParams) BindRequest

func (o *DeleteEdgeRouterParams) 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 NewDeleteEdgeRouterParams() beforehand.

type DeleteEdgeRouterURL

type DeleteEdgeRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

DeleteEdgeRouterURL generates an URL for the delete edge router operation

func (*DeleteEdgeRouterURL) Build

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

Build a url path and query string

func (*DeleteEdgeRouterURL) BuildFull

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

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

func (*DeleteEdgeRouterURL) Must

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

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

func (*DeleteEdgeRouterURL) SetBasePath

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

func (o *DeleteEdgeRouterURL) String() string

String returns the string representation of the path with query string

func (*DeleteEdgeRouterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteEdgeRouterURL) WithBasePath

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

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 DeleteEdgeRouterUnauthorized

type DeleteEdgeRouterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DeleteEdgeRouterUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response deleteEdgeRouterUnauthorized

func NewDeleteEdgeRouterUnauthorized

func NewDeleteEdgeRouterUnauthorized() *DeleteEdgeRouterUnauthorized

NewDeleteEdgeRouterUnauthorized creates DeleteEdgeRouterUnauthorized with default headers values

func (*DeleteEdgeRouterUnauthorized) SetPayload

SetPayload sets the payload to the delete edge router unauthorized response

func (*DeleteEdgeRouterUnauthorized) WithPayload

WithPayload adds the payload to the delete edge router unauthorized response

func (*DeleteEdgeRouterUnauthorized) WriteResponse

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

WriteResponse to the client

type DetailEdgeRouter

type DetailEdgeRouter struct {
	Context *middleware.Context
	Handler DetailEdgeRouterHandler
}
DetailEdgeRouter swagger:route GET /edge-routers/{id} Edge Router detailEdgeRouter

Retrieves a single edge router

Retrieves a single edge router by id. Requires admin access.

func NewDetailEdgeRouter

func NewDetailEdgeRouter(ctx *middleware.Context, handler DetailEdgeRouterHandler) *DetailEdgeRouter

NewDetailEdgeRouter creates a new http.Handler for the detail edge router operation

func (*DetailEdgeRouter) ServeHTTP

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

type DetailEdgeRouterHandler

type DetailEdgeRouterHandler interface {
	Handle(DetailEdgeRouterParams, interface{}) middleware.Responder
}

DetailEdgeRouterHandler interface for that can handle valid detail edge router params

type DetailEdgeRouterHandlerFunc

type DetailEdgeRouterHandlerFunc func(DetailEdgeRouterParams, interface{}) middleware.Responder

DetailEdgeRouterHandlerFunc turns a function with the right signature into a detail edge router handler

func (DetailEdgeRouterHandlerFunc) Handle

func (fn DetailEdgeRouterHandlerFunc) Handle(params DetailEdgeRouterParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type DetailEdgeRouterNotFound

type DetailEdgeRouterNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailEdgeRouterNotFound The requested resource does not exist

swagger:response detailEdgeRouterNotFound

func NewDetailEdgeRouterNotFound

func NewDetailEdgeRouterNotFound() *DetailEdgeRouterNotFound

NewDetailEdgeRouterNotFound creates DetailEdgeRouterNotFound with default headers values

func (*DetailEdgeRouterNotFound) SetPayload

func (o *DetailEdgeRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the detail edge router not found response

func (*DetailEdgeRouterNotFound) WithPayload

WithPayload adds the payload to the detail edge router not found response

func (*DetailEdgeRouterNotFound) WriteResponse

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

WriteResponse to the client

type DetailEdgeRouterOK

type DetailEdgeRouterOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.DetailedEdgeRouterEnvelope `json:"body,omitempty"`
}

DetailEdgeRouterOK A singular edge router resource

swagger:response detailEdgeRouterOK

func NewDetailEdgeRouterOK

func NewDetailEdgeRouterOK() *DetailEdgeRouterOK

NewDetailEdgeRouterOK creates DetailEdgeRouterOK with default headers values

func (*DetailEdgeRouterOK) SetPayload

SetPayload sets the payload to the detail edge router o k response

func (*DetailEdgeRouterOK) WithPayload

WithPayload adds the payload to the detail edge router o k response

func (*DetailEdgeRouterOK) WriteResponse

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

WriteResponse to the client

type DetailEdgeRouterParams

type DetailEdgeRouterParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

DetailEdgeRouterParams contains all the bound params for the detail edge router operation typically these are obtained from a http.Request

swagger:parameters detailEdgeRouter

func NewDetailEdgeRouterParams

func NewDetailEdgeRouterParams() DetailEdgeRouterParams

NewDetailEdgeRouterParams creates a new DetailEdgeRouterParams object

There are no default values defined in the spec.

func (*DetailEdgeRouterParams) BindRequest

func (o *DetailEdgeRouterParams) 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 NewDetailEdgeRouterParams() beforehand.

type DetailEdgeRouterURL

type DetailEdgeRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

DetailEdgeRouterURL generates an URL for the detail edge router operation

func (*DetailEdgeRouterURL) Build

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

Build a url path and query string

func (*DetailEdgeRouterURL) BuildFull

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

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

func (*DetailEdgeRouterURL) Must

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

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

func (*DetailEdgeRouterURL) SetBasePath

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

func (o *DetailEdgeRouterURL) String() string

String returns the string representation of the path with query string

func (*DetailEdgeRouterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DetailEdgeRouterURL) WithBasePath

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

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 DetailEdgeRouterUnauthorized

type DetailEdgeRouterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

DetailEdgeRouterUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response detailEdgeRouterUnauthorized

func NewDetailEdgeRouterUnauthorized

func NewDetailEdgeRouterUnauthorized() *DetailEdgeRouterUnauthorized

NewDetailEdgeRouterUnauthorized creates DetailEdgeRouterUnauthorized with default headers values

func (*DetailEdgeRouterUnauthorized) SetPayload

SetPayload sets the payload to the detail edge router unauthorized response

func (*DetailEdgeRouterUnauthorized) WithPayload

WithPayload adds the payload to the detail edge router unauthorized response

func (*DetailEdgeRouterUnauthorized) WriteResponse

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

WriteResponse to the client

type ListEdgeRouterEdgeRouterPolicies

type ListEdgeRouterEdgeRouterPolicies struct {
	Context *middleware.Context
	Handler ListEdgeRouterEdgeRouterPoliciesHandler
}
ListEdgeRouterEdgeRouterPolicies swagger:route GET /edge-routers/{id}/edge-router-policies Edge Router listEdgeRouterEdgeRouterPolicies

List the edge router policies that affect an edge router

Retrieves a list of edge router policies that apply to the specified edge router.

func NewListEdgeRouterEdgeRouterPolicies

func NewListEdgeRouterEdgeRouterPolicies(ctx *middleware.Context, handler ListEdgeRouterEdgeRouterPoliciesHandler) *ListEdgeRouterEdgeRouterPolicies

NewListEdgeRouterEdgeRouterPolicies creates a new http.Handler for the list edge router edge router policies operation

func (*ListEdgeRouterEdgeRouterPolicies) ServeHTTP

type ListEdgeRouterEdgeRouterPoliciesHandler

type ListEdgeRouterEdgeRouterPoliciesHandler interface {
	Handle(ListEdgeRouterEdgeRouterPoliciesParams, interface{}) middleware.Responder
}

ListEdgeRouterEdgeRouterPoliciesHandler interface for that can handle valid list edge router edge router policies params

type ListEdgeRouterEdgeRouterPoliciesHandlerFunc

type ListEdgeRouterEdgeRouterPoliciesHandlerFunc func(ListEdgeRouterEdgeRouterPoliciesParams, interface{}) middleware.Responder

ListEdgeRouterEdgeRouterPoliciesHandlerFunc turns a function with the right signature into a list edge router edge router policies handler

func (ListEdgeRouterEdgeRouterPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterEdgeRouterPoliciesNotFound

type ListEdgeRouterEdgeRouterPoliciesNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterEdgeRouterPoliciesNotFound The requested resource does not exist

swagger:response listEdgeRouterEdgeRouterPoliciesNotFound

func NewListEdgeRouterEdgeRouterPoliciesNotFound

func NewListEdgeRouterEdgeRouterPoliciesNotFound() *ListEdgeRouterEdgeRouterPoliciesNotFound

NewListEdgeRouterEdgeRouterPoliciesNotFound creates ListEdgeRouterEdgeRouterPoliciesNotFound with default headers values

func (*ListEdgeRouterEdgeRouterPoliciesNotFound) SetPayload

SetPayload sets the payload to the list edge router edge router policies not found response

func (*ListEdgeRouterEdgeRouterPoliciesNotFound) WithPayload

WithPayload adds the payload to the list edge router edge router policies not found response

func (*ListEdgeRouterEdgeRouterPoliciesNotFound) WriteResponse

WriteResponse to the client

type ListEdgeRouterEdgeRouterPoliciesOK

type ListEdgeRouterEdgeRouterPoliciesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListEdgeRouterPoliciesEnvelope `json:"body,omitempty"`
}

ListEdgeRouterEdgeRouterPoliciesOK A list of edge router policies

swagger:response listEdgeRouterEdgeRouterPoliciesOK

func NewListEdgeRouterEdgeRouterPoliciesOK

func NewListEdgeRouterEdgeRouterPoliciesOK() *ListEdgeRouterEdgeRouterPoliciesOK

NewListEdgeRouterEdgeRouterPoliciesOK creates ListEdgeRouterEdgeRouterPoliciesOK with default headers values

func (*ListEdgeRouterEdgeRouterPoliciesOK) SetPayload

SetPayload sets the payload to the list edge router edge router policies o k response

func (*ListEdgeRouterEdgeRouterPoliciesOK) WithPayload

WithPayload adds the payload to the list edge router edge router policies o k response

func (*ListEdgeRouterEdgeRouterPoliciesOK) WriteResponse

WriteResponse to the client

type ListEdgeRouterEdgeRouterPoliciesParams

type ListEdgeRouterEdgeRouterPoliciesParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ListEdgeRouterEdgeRouterPoliciesParams contains all the bound params for the list edge router edge router policies operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterEdgeRouterPolicies

func NewListEdgeRouterEdgeRouterPoliciesParams

func NewListEdgeRouterEdgeRouterPoliciesParams() ListEdgeRouterEdgeRouterPoliciesParams

NewListEdgeRouterEdgeRouterPoliciesParams creates a new ListEdgeRouterEdgeRouterPoliciesParams object

There are no default values defined in the spec.

func (*ListEdgeRouterEdgeRouterPoliciesParams) 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 NewListEdgeRouterEdgeRouterPoliciesParams() beforehand.

type ListEdgeRouterEdgeRouterPoliciesURL

type ListEdgeRouterEdgeRouterPoliciesURL struct {
	ID string
	// contains filtered or unexported fields
}

ListEdgeRouterEdgeRouterPoliciesURL generates an URL for the list edge router edge router policies operation

func (*ListEdgeRouterEdgeRouterPoliciesURL) Build

Build a url path and query string

func (*ListEdgeRouterEdgeRouterPoliciesURL) BuildFull

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

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

func (*ListEdgeRouterEdgeRouterPoliciesURL) Must

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

func (*ListEdgeRouterEdgeRouterPoliciesURL) SetBasePath

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

String returns the string representation of the path with query string

func (*ListEdgeRouterEdgeRouterPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListEdgeRouterEdgeRouterPoliciesURL) 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 ListEdgeRouterEdgeRouterPoliciesUnauthorized

type ListEdgeRouterEdgeRouterPoliciesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterEdgeRouterPoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterEdgeRouterPoliciesUnauthorized() *ListEdgeRouterEdgeRouterPoliciesUnauthorized

NewListEdgeRouterEdgeRouterPoliciesUnauthorized creates ListEdgeRouterEdgeRouterPoliciesUnauthorized with default headers values

func (*ListEdgeRouterEdgeRouterPoliciesUnauthorized) SetPayload

SetPayload sets the payload to the list edge router edge router policies unauthorized response

func (*ListEdgeRouterEdgeRouterPoliciesUnauthorized) WithPayload

WithPayload adds the payload to the list edge router edge router policies unauthorized response

func (*ListEdgeRouterEdgeRouterPoliciesUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouterIdentities

type ListEdgeRouterIdentities struct {
	Context *middleware.Context
	Handler ListEdgeRouterIdentitiesHandler
}
ListEdgeRouterIdentities swagger:route GET /edge-routers/{id}/identities Edge Router listEdgeRouterIdentities

List associated identities

Retrieves a list of identities that may access services via the given edge router. Supports filtering, sorting, and pagination. Requires admin access.

func NewListEdgeRouterIdentities

func NewListEdgeRouterIdentities(ctx *middleware.Context, handler ListEdgeRouterIdentitiesHandler) *ListEdgeRouterIdentities

NewListEdgeRouterIdentities creates a new http.Handler for the list edge router identities operation

func (*ListEdgeRouterIdentities) ServeHTTP

type ListEdgeRouterIdentitiesHandler

type ListEdgeRouterIdentitiesHandler interface {
	Handle(ListEdgeRouterIdentitiesParams, interface{}) middleware.Responder
}

ListEdgeRouterIdentitiesHandler interface for that can handle valid list edge router identities params

type ListEdgeRouterIdentitiesHandlerFunc

type ListEdgeRouterIdentitiesHandlerFunc func(ListEdgeRouterIdentitiesParams, interface{}) middleware.Responder

ListEdgeRouterIdentitiesHandlerFunc turns a function with the right signature into a list edge router identities handler

func (ListEdgeRouterIdentitiesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterIdentitiesNotFound

type ListEdgeRouterIdentitiesNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterIdentitiesNotFound The requested resource does not exist

swagger:response listEdgeRouterIdentitiesNotFound

func NewListEdgeRouterIdentitiesNotFound

func NewListEdgeRouterIdentitiesNotFound() *ListEdgeRouterIdentitiesNotFound

NewListEdgeRouterIdentitiesNotFound creates ListEdgeRouterIdentitiesNotFound with default headers values

func (*ListEdgeRouterIdentitiesNotFound) SetPayload

SetPayload sets the payload to the list edge router identities not found response

func (*ListEdgeRouterIdentitiesNotFound) WithPayload

WithPayload adds the payload to the list edge router identities not found response

func (*ListEdgeRouterIdentitiesNotFound) WriteResponse

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

WriteResponse to the client

type ListEdgeRouterIdentitiesOK

type ListEdgeRouterIdentitiesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListIdentitiesEnvelope `json:"body,omitempty"`
}

ListEdgeRouterIdentitiesOK A list of identities

swagger:response listEdgeRouterIdentitiesOK

func NewListEdgeRouterIdentitiesOK

func NewListEdgeRouterIdentitiesOK() *ListEdgeRouterIdentitiesOK

NewListEdgeRouterIdentitiesOK creates ListEdgeRouterIdentitiesOK with default headers values

func (*ListEdgeRouterIdentitiesOK) SetPayload

SetPayload sets the payload to the list edge router identities o k response

func (*ListEdgeRouterIdentitiesOK) WithPayload

WithPayload adds the payload to the list edge router identities o k response

func (*ListEdgeRouterIdentitiesOK) WriteResponse

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

WriteResponse to the client

type ListEdgeRouterIdentitiesParams

type ListEdgeRouterIdentitiesParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ListEdgeRouterIdentitiesParams contains all the bound params for the list edge router identities operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterIdentities

func NewListEdgeRouterIdentitiesParams

func NewListEdgeRouterIdentitiesParams() ListEdgeRouterIdentitiesParams

NewListEdgeRouterIdentitiesParams creates a new ListEdgeRouterIdentitiesParams object

There are no default values defined in the spec.

func (*ListEdgeRouterIdentitiesParams) 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 NewListEdgeRouterIdentitiesParams() beforehand.

type ListEdgeRouterIdentitiesURL

type ListEdgeRouterIdentitiesURL struct {
	ID string
	// contains filtered or unexported fields
}

ListEdgeRouterIdentitiesURL generates an URL for the list edge router identities operation

func (*ListEdgeRouterIdentitiesURL) Build

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

Build a url path and query string

func (*ListEdgeRouterIdentitiesURL) BuildFull

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

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

func (*ListEdgeRouterIdentitiesURL) Must

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

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

func (*ListEdgeRouterIdentitiesURL) SetBasePath

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

func (o *ListEdgeRouterIdentitiesURL) String() string

String returns the string representation of the path with query string

func (*ListEdgeRouterIdentitiesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListEdgeRouterIdentitiesURL) 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 ListEdgeRouterIdentitiesUnauthorized

type ListEdgeRouterIdentitiesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterIdentitiesUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterIdentitiesUnauthorized

func NewListEdgeRouterIdentitiesUnauthorized

func NewListEdgeRouterIdentitiesUnauthorized() *ListEdgeRouterIdentitiesUnauthorized

NewListEdgeRouterIdentitiesUnauthorized creates ListEdgeRouterIdentitiesUnauthorized with default headers values

func (*ListEdgeRouterIdentitiesUnauthorized) SetPayload

SetPayload sets the payload to the list edge router identities unauthorized response

func (*ListEdgeRouterIdentitiesUnauthorized) WithPayload

WithPayload adds the payload to the list edge router identities unauthorized response

func (*ListEdgeRouterIdentitiesUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouterServiceEdgeRouterPolicies

type ListEdgeRouterServiceEdgeRouterPolicies struct {
	Context *middleware.Context
	Handler ListEdgeRouterServiceEdgeRouterPoliciesHandler
}
ListEdgeRouterServiceEdgeRouterPolicies swagger:route GET /edge-routers/{id}/service-edge-router-policies Edge Router listEdgeRouterServiceEdgeRouterPolicies

List the service policies that affect an edge router

Retrieves a list of service policies policies that apply to the specified edge router.

func NewListEdgeRouterServiceEdgeRouterPolicies

func NewListEdgeRouterServiceEdgeRouterPolicies(ctx *middleware.Context, handler ListEdgeRouterServiceEdgeRouterPoliciesHandler) *ListEdgeRouterServiceEdgeRouterPolicies

NewListEdgeRouterServiceEdgeRouterPolicies creates a new http.Handler for the list edge router service edge router policies operation

func (*ListEdgeRouterServiceEdgeRouterPolicies) ServeHTTP

type ListEdgeRouterServiceEdgeRouterPoliciesHandler

type ListEdgeRouterServiceEdgeRouterPoliciesHandler interface {
	Handle(ListEdgeRouterServiceEdgeRouterPoliciesParams, interface{}) middleware.Responder
}

ListEdgeRouterServiceEdgeRouterPoliciesHandler interface for that can handle valid list edge router service edge router policies params

type ListEdgeRouterServiceEdgeRouterPoliciesHandlerFunc

type ListEdgeRouterServiceEdgeRouterPoliciesHandlerFunc func(ListEdgeRouterServiceEdgeRouterPoliciesParams, interface{}) middleware.Responder

ListEdgeRouterServiceEdgeRouterPoliciesHandlerFunc turns a function with the right signature into a list edge router service edge router policies handler

func (ListEdgeRouterServiceEdgeRouterPoliciesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterServiceEdgeRouterPoliciesNotFound

type ListEdgeRouterServiceEdgeRouterPoliciesNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterServiceEdgeRouterPoliciesNotFound The requested resource does not exist

swagger:response listEdgeRouterServiceEdgeRouterPoliciesNotFound

func NewListEdgeRouterServiceEdgeRouterPoliciesNotFound

func NewListEdgeRouterServiceEdgeRouterPoliciesNotFound() *ListEdgeRouterServiceEdgeRouterPoliciesNotFound

NewListEdgeRouterServiceEdgeRouterPoliciesNotFound creates ListEdgeRouterServiceEdgeRouterPoliciesNotFound with default headers values

func (*ListEdgeRouterServiceEdgeRouterPoliciesNotFound) SetPayload

SetPayload sets the payload to the list edge router service edge router policies not found response

func (*ListEdgeRouterServiceEdgeRouterPoliciesNotFound) WithPayload

WithPayload adds the payload to the list edge router service edge router policies not found response

func (*ListEdgeRouterServiceEdgeRouterPoliciesNotFound) WriteResponse

WriteResponse to the client

type ListEdgeRouterServiceEdgeRouterPoliciesOK

type ListEdgeRouterServiceEdgeRouterPoliciesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListServicePoliciesEnvelope `json:"body,omitempty"`
}

ListEdgeRouterServiceEdgeRouterPoliciesOK A list of service policies

swagger:response listEdgeRouterServiceEdgeRouterPoliciesOK

func NewListEdgeRouterServiceEdgeRouterPoliciesOK

func NewListEdgeRouterServiceEdgeRouterPoliciesOK() *ListEdgeRouterServiceEdgeRouterPoliciesOK

NewListEdgeRouterServiceEdgeRouterPoliciesOK creates ListEdgeRouterServiceEdgeRouterPoliciesOK with default headers values

func (*ListEdgeRouterServiceEdgeRouterPoliciesOK) SetPayload

SetPayload sets the payload to the list edge router service edge router policies o k response

func (*ListEdgeRouterServiceEdgeRouterPoliciesOK) WithPayload

WithPayload adds the payload to the list edge router service edge router policies o k response

func (*ListEdgeRouterServiceEdgeRouterPoliciesOK) WriteResponse

WriteResponse to the client

type ListEdgeRouterServiceEdgeRouterPoliciesParams

type ListEdgeRouterServiceEdgeRouterPoliciesParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ListEdgeRouterServiceEdgeRouterPoliciesParams contains all the bound params for the list edge router service edge router policies operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterServiceEdgeRouterPolicies

func NewListEdgeRouterServiceEdgeRouterPoliciesParams

func NewListEdgeRouterServiceEdgeRouterPoliciesParams() ListEdgeRouterServiceEdgeRouterPoliciesParams

NewListEdgeRouterServiceEdgeRouterPoliciesParams creates a new ListEdgeRouterServiceEdgeRouterPoliciesParams object

There are no default values defined in the spec.

func (*ListEdgeRouterServiceEdgeRouterPoliciesParams) 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 NewListEdgeRouterServiceEdgeRouterPoliciesParams() beforehand.

type ListEdgeRouterServiceEdgeRouterPoliciesURL

type ListEdgeRouterServiceEdgeRouterPoliciesURL struct {
	ID string
	// contains filtered or unexported fields
}

ListEdgeRouterServiceEdgeRouterPoliciesURL generates an URL for the list edge router service edge router policies operation

func (*ListEdgeRouterServiceEdgeRouterPoliciesURL) Build

Build a url path and query string

func (*ListEdgeRouterServiceEdgeRouterPoliciesURL) BuildFull

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

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

func (*ListEdgeRouterServiceEdgeRouterPoliciesURL) Must

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

func (*ListEdgeRouterServiceEdgeRouterPoliciesURL) SetBasePath

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 (*ListEdgeRouterServiceEdgeRouterPoliciesURL) String

String returns the string representation of the path with query string

func (*ListEdgeRouterServiceEdgeRouterPoliciesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListEdgeRouterServiceEdgeRouterPoliciesURL) 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 ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

type ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterServiceEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

func NewListEdgeRouterServiceEdgeRouterPoliciesUnauthorized() *ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized

NewListEdgeRouterServiceEdgeRouterPoliciesUnauthorized creates ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized with default headers values

func (*ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized) SetPayload

SetPayload sets the payload to the list edge router service edge router policies unauthorized response

func (*ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized) WithPayload

WithPayload adds the payload to the list edge router service edge router policies unauthorized response

func (*ListEdgeRouterServiceEdgeRouterPoliciesUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouterServices

type ListEdgeRouterServices struct {
	Context *middleware.Context
	Handler ListEdgeRouterServicesHandler
}
ListEdgeRouterServices swagger:route GET /edge-routers/{id}/services Edge Router listEdgeRouterServices

List associated services

Retrieves a list of services that may be accessed via the given edge router. Supports filtering, sorting, and pagination. Requires admin access.

func NewListEdgeRouterServices

func NewListEdgeRouterServices(ctx *middleware.Context, handler ListEdgeRouterServicesHandler) *ListEdgeRouterServices

NewListEdgeRouterServices creates a new http.Handler for the list edge router services operation

func (*ListEdgeRouterServices) ServeHTTP

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

type ListEdgeRouterServicesHandler

type ListEdgeRouterServicesHandler interface {
	Handle(ListEdgeRouterServicesParams, interface{}) middleware.Responder
}

ListEdgeRouterServicesHandler interface for that can handle valid list edge router services params

type ListEdgeRouterServicesHandlerFunc

type ListEdgeRouterServicesHandlerFunc func(ListEdgeRouterServicesParams, interface{}) middleware.Responder

ListEdgeRouterServicesHandlerFunc turns a function with the right signature into a list edge router services handler

func (ListEdgeRouterServicesHandlerFunc) Handle

Handle executing the request and returning a response

type ListEdgeRouterServicesNotFound

type ListEdgeRouterServicesNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterServicesNotFound The requested resource does not exist

swagger:response listEdgeRouterServicesNotFound

func NewListEdgeRouterServicesNotFound

func NewListEdgeRouterServicesNotFound() *ListEdgeRouterServicesNotFound

NewListEdgeRouterServicesNotFound creates ListEdgeRouterServicesNotFound with default headers values

func (*ListEdgeRouterServicesNotFound) SetPayload

SetPayload sets the payload to the list edge router services not found response

func (*ListEdgeRouterServicesNotFound) WithPayload

WithPayload adds the payload to the list edge router services not found response

func (*ListEdgeRouterServicesNotFound) WriteResponse

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

WriteResponse to the client

type ListEdgeRouterServicesOK

type ListEdgeRouterServicesOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListServicesEnvelope `json:"body,omitempty"`
}

ListEdgeRouterServicesOK A list of services

swagger:response listEdgeRouterServicesOK

func NewListEdgeRouterServicesOK

func NewListEdgeRouterServicesOK() *ListEdgeRouterServicesOK

NewListEdgeRouterServicesOK creates ListEdgeRouterServicesOK with default headers values

func (*ListEdgeRouterServicesOK) SetPayload

SetPayload sets the payload to the list edge router services o k response

func (*ListEdgeRouterServicesOK) WithPayload

WithPayload adds the payload to the list edge router services o k response

func (*ListEdgeRouterServicesOK) WriteResponse

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

WriteResponse to the client

type ListEdgeRouterServicesParams

type ListEdgeRouterServicesParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ListEdgeRouterServicesParams contains all the bound params for the list edge router services operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouterServices

func NewListEdgeRouterServicesParams

func NewListEdgeRouterServicesParams() ListEdgeRouterServicesParams

NewListEdgeRouterServicesParams creates a new ListEdgeRouterServicesParams object

There are no default values defined in the spec.

func (*ListEdgeRouterServicesParams) 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 NewListEdgeRouterServicesParams() beforehand.

type ListEdgeRouterServicesURL

type ListEdgeRouterServicesURL struct {
	ID string
	// contains filtered or unexported fields
}

ListEdgeRouterServicesURL generates an URL for the list edge router services operation

func (*ListEdgeRouterServicesURL) Build

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

Build a url path and query string

func (*ListEdgeRouterServicesURL) BuildFull

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

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

func (*ListEdgeRouterServicesURL) Must

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

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

func (*ListEdgeRouterServicesURL) SetBasePath

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

func (o *ListEdgeRouterServicesURL) String() string

String returns the string representation of the path with query string

func (*ListEdgeRouterServicesURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListEdgeRouterServicesURL) 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 ListEdgeRouterServicesUnauthorized

type ListEdgeRouterServicesUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRouterServicesUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRouterServicesUnauthorized

func NewListEdgeRouterServicesUnauthorized

func NewListEdgeRouterServicesUnauthorized() *ListEdgeRouterServicesUnauthorized

NewListEdgeRouterServicesUnauthorized creates ListEdgeRouterServicesUnauthorized with default headers values

func (*ListEdgeRouterServicesUnauthorized) SetPayload

SetPayload sets the payload to the list edge router services unauthorized response

func (*ListEdgeRouterServicesUnauthorized) WithPayload

WithPayload adds the payload to the list edge router services unauthorized response

func (*ListEdgeRouterServicesUnauthorized) WriteResponse

WriteResponse to the client

type ListEdgeRouters

type ListEdgeRouters struct {
	Context *middleware.Context
	Handler ListEdgeRoutersHandler
}
ListEdgeRouters swagger:route GET /edge-routers Edge Router listEdgeRouters

List edge routers

Retrieves a list of edge router resources; supports filtering, sorting, and pagination. Requires admin access.

func NewListEdgeRouters

func NewListEdgeRouters(ctx *middleware.Context, handler ListEdgeRoutersHandler) *ListEdgeRouters

NewListEdgeRouters creates a new http.Handler for the list edge routers operation

func (*ListEdgeRouters) ServeHTTP

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

type ListEdgeRoutersBadRequest

type ListEdgeRoutersBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRoutersBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response listEdgeRoutersBadRequest

func NewListEdgeRoutersBadRequest

func NewListEdgeRoutersBadRequest() *ListEdgeRoutersBadRequest

NewListEdgeRoutersBadRequest creates ListEdgeRoutersBadRequest with default headers values

func (*ListEdgeRoutersBadRequest) SetPayload

func (o *ListEdgeRoutersBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the list edge routers bad request response

func (*ListEdgeRoutersBadRequest) WithPayload

WithPayload adds the payload to the list edge routers bad request response

func (*ListEdgeRoutersBadRequest) WriteResponse

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

WriteResponse to the client

type ListEdgeRoutersHandler

type ListEdgeRoutersHandler interface {
	Handle(ListEdgeRoutersParams, interface{}) middleware.Responder
}

ListEdgeRoutersHandler interface for that can handle valid list edge routers params

type ListEdgeRoutersHandlerFunc

type ListEdgeRoutersHandlerFunc func(ListEdgeRoutersParams, interface{}) middleware.Responder

ListEdgeRoutersHandlerFunc turns a function with the right signature into a list edge routers handler

func (ListEdgeRoutersHandlerFunc) Handle

func (fn ListEdgeRoutersHandlerFunc) Handle(params ListEdgeRoutersParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ListEdgeRoutersOK

type ListEdgeRoutersOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.ListEdgeRoutersEnvelope `json:"body,omitempty"`
}

ListEdgeRoutersOK A list of edge routers

swagger:response listEdgeRoutersOK

func NewListEdgeRoutersOK

func NewListEdgeRoutersOK() *ListEdgeRoutersOK

NewListEdgeRoutersOK creates ListEdgeRoutersOK with default headers values

func (*ListEdgeRoutersOK) SetPayload

func (o *ListEdgeRoutersOK) SetPayload(payload *rest_model.ListEdgeRoutersEnvelope)

SetPayload sets the payload to the list edge routers o k response

func (*ListEdgeRoutersOK) WithPayload

WithPayload adds the payload to the list edge routers o k response

func (*ListEdgeRoutersOK) WriteResponse

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

WriteResponse to the client

type ListEdgeRoutersParams

type ListEdgeRoutersParams struct {

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

	/*
	  In: query
	*/
	Filter *string
	/*
	  In: query
	*/
	Limit *int64
	/*
	  In: query
	*/
	Offset *int64
	/*
	  In: query
	  Collection Format: multi
	*/
	RoleFilter []string
	/*
	  In: query
	*/
	RoleSemantic *string
}

ListEdgeRoutersParams contains all the bound params for the list edge routers operation typically these are obtained from a http.Request

swagger:parameters listEdgeRouters

func NewListEdgeRoutersParams

func NewListEdgeRoutersParams() ListEdgeRoutersParams

NewListEdgeRoutersParams creates a new ListEdgeRoutersParams object

There are no default values defined in the spec.

func (*ListEdgeRoutersParams) BindRequest

func (o *ListEdgeRoutersParams) 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 NewListEdgeRoutersParams() beforehand.

type ListEdgeRoutersURL

type ListEdgeRoutersURL struct {
	Filter       *string
	Limit        *int64
	Offset       *int64
	RoleFilter   []string
	RoleSemantic *string
	// contains filtered or unexported fields
}

ListEdgeRoutersURL generates an URL for the list edge routers operation

func (*ListEdgeRoutersURL) Build

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

Build a url path and query string

func (*ListEdgeRoutersURL) BuildFull

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

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

func (*ListEdgeRoutersURL) Must

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

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

func (*ListEdgeRoutersURL) SetBasePath

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

func (o *ListEdgeRoutersURL) String() string

String returns the string representation of the path with query string

func (*ListEdgeRoutersURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListEdgeRoutersURL) WithBasePath

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

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 ListEdgeRoutersUnauthorized

type ListEdgeRoutersUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ListEdgeRoutersUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response listEdgeRoutersUnauthorized

func NewListEdgeRoutersUnauthorized

func NewListEdgeRoutersUnauthorized() *ListEdgeRoutersUnauthorized

NewListEdgeRoutersUnauthorized creates ListEdgeRoutersUnauthorized with default headers values

func (*ListEdgeRoutersUnauthorized) SetPayload

SetPayload sets the payload to the list edge routers unauthorized response

func (*ListEdgeRoutersUnauthorized) WithPayload

WithPayload adds the payload to the list edge routers unauthorized response

func (*ListEdgeRoutersUnauthorized) WriteResponse

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

WriteResponse to the client

type PatchEdgeRouter

type PatchEdgeRouter struct {
	Context *middleware.Context
	Handler PatchEdgeRouterHandler
}
PatchEdgeRouter swagger:route PATCH /edge-routers/{id} Edge Router patchEdgeRouter

Update the supplied fields on an edge router

Update the supplied fields on an edge router. Requires admin access.

func NewPatchEdgeRouter

func NewPatchEdgeRouter(ctx *middleware.Context, handler PatchEdgeRouterHandler) *PatchEdgeRouter

NewPatchEdgeRouter creates a new http.Handler for the patch edge router operation

func (*PatchEdgeRouter) ServeHTTP

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

type PatchEdgeRouterBadRequest

type PatchEdgeRouterBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchEdgeRouterBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response patchEdgeRouterBadRequest

func NewPatchEdgeRouterBadRequest

func NewPatchEdgeRouterBadRequest() *PatchEdgeRouterBadRequest

NewPatchEdgeRouterBadRequest creates PatchEdgeRouterBadRequest with default headers values

func (*PatchEdgeRouterBadRequest) SetPayload

func (o *PatchEdgeRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch edge router bad request response

func (*PatchEdgeRouterBadRequest) WithPayload

WithPayload adds the payload to the patch edge router bad request response

func (*PatchEdgeRouterBadRequest) WriteResponse

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

WriteResponse to the client

type PatchEdgeRouterHandler

type PatchEdgeRouterHandler interface {
	Handle(PatchEdgeRouterParams, interface{}) middleware.Responder
}

PatchEdgeRouterHandler interface for that can handle valid patch edge router params

type PatchEdgeRouterHandlerFunc

type PatchEdgeRouterHandlerFunc func(PatchEdgeRouterParams, interface{}) middleware.Responder

PatchEdgeRouterHandlerFunc turns a function with the right signature into a patch edge router handler

func (PatchEdgeRouterHandlerFunc) Handle

func (fn PatchEdgeRouterHandlerFunc) Handle(params PatchEdgeRouterParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type PatchEdgeRouterNotFound

type PatchEdgeRouterNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchEdgeRouterNotFound The requested resource does not exist

swagger:response patchEdgeRouterNotFound

func NewPatchEdgeRouterNotFound

func NewPatchEdgeRouterNotFound() *PatchEdgeRouterNotFound

NewPatchEdgeRouterNotFound creates PatchEdgeRouterNotFound with default headers values

func (*PatchEdgeRouterNotFound) SetPayload

func (o *PatchEdgeRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the patch edge router not found response

func (*PatchEdgeRouterNotFound) WithPayload

WithPayload adds the payload to the patch edge router not found response

func (*PatchEdgeRouterNotFound) WriteResponse

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

WriteResponse to the client

type PatchEdgeRouterOK

type PatchEdgeRouterOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

PatchEdgeRouterOK The patch request was successful and the resource has been altered

swagger:response patchEdgeRouterOK

func NewPatchEdgeRouterOK

func NewPatchEdgeRouterOK() *PatchEdgeRouterOK

NewPatchEdgeRouterOK creates PatchEdgeRouterOK with default headers values

func (*PatchEdgeRouterOK) SetPayload

func (o *PatchEdgeRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the patch edge router o k response

func (*PatchEdgeRouterOK) WithPayload

func (o *PatchEdgeRouterOK) WithPayload(payload *rest_model.Empty) *PatchEdgeRouterOK

WithPayload adds the payload to the patch edge router o k response

func (*PatchEdgeRouterOK) WriteResponse

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

WriteResponse to the client

type PatchEdgeRouterParams

type PatchEdgeRouterParams struct {

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

	/*An edge router patch object
	  Required: true
	  In: body
	*/
	EdgeRouter *rest_model.EdgeRouterPatch
	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

PatchEdgeRouterParams contains all the bound params for the patch edge router operation typically these are obtained from a http.Request

swagger:parameters patchEdgeRouter

func NewPatchEdgeRouterParams

func NewPatchEdgeRouterParams() PatchEdgeRouterParams

NewPatchEdgeRouterParams creates a new PatchEdgeRouterParams object

There are no default values defined in the spec.

func (*PatchEdgeRouterParams) BindRequest

func (o *PatchEdgeRouterParams) 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 NewPatchEdgeRouterParams() beforehand.

type PatchEdgeRouterURL

type PatchEdgeRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

PatchEdgeRouterURL generates an URL for the patch edge router operation

func (*PatchEdgeRouterURL) Build

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

Build a url path and query string

func (*PatchEdgeRouterURL) BuildFull

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

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

func (*PatchEdgeRouterURL) Must

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

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

func (*PatchEdgeRouterURL) SetBasePath

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

func (o *PatchEdgeRouterURL) String() string

String returns the string representation of the path with query string

func (*PatchEdgeRouterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*PatchEdgeRouterURL) WithBasePath

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

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 PatchEdgeRouterUnauthorized

type PatchEdgeRouterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

PatchEdgeRouterUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response patchEdgeRouterUnauthorized

func NewPatchEdgeRouterUnauthorized

func NewPatchEdgeRouterUnauthorized() *PatchEdgeRouterUnauthorized

NewPatchEdgeRouterUnauthorized creates PatchEdgeRouterUnauthorized with default headers values

func (*PatchEdgeRouterUnauthorized) SetPayload

SetPayload sets the payload to the patch edge router unauthorized response

func (*PatchEdgeRouterUnauthorized) WithPayload

WithPayload adds the payload to the patch edge router unauthorized response

func (*PatchEdgeRouterUnauthorized) WriteResponse

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

WriteResponse to the client

type ReEnrollEdgeRouter

type ReEnrollEdgeRouter struct {
	Context *middleware.Context
	Handler ReEnrollEdgeRouterHandler
}
ReEnrollEdgeRouter swagger:route POST /edge-routers/{id}/re-enroll Edge Router reEnrollEdgeRouter

Re-enroll an edge router

Removes current certificate based authentication mechanisms and reverts the edge router into a state where enrollment must be performed. The router retains all other properties and associations. If the router is currently connected, it will be disconnected and any attemps to reconnect will fail until the enrollment process is completed with the newly generated JWT.

If the edge router has an existing outstanding enrollment JWT it will be replaced. The previous JWT will no longer be usable to complete the enrollment process.

func NewReEnrollEdgeRouter

func NewReEnrollEdgeRouter(ctx *middleware.Context, handler ReEnrollEdgeRouterHandler) *ReEnrollEdgeRouter

NewReEnrollEdgeRouter creates a new http.Handler for the re enroll edge router operation

func (*ReEnrollEdgeRouter) ServeHTTP

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

type ReEnrollEdgeRouterHandler

type ReEnrollEdgeRouterHandler interface {
	Handle(ReEnrollEdgeRouterParams, interface{}) middleware.Responder
}

ReEnrollEdgeRouterHandler interface for that can handle valid re enroll edge router params

type ReEnrollEdgeRouterHandlerFunc

type ReEnrollEdgeRouterHandlerFunc func(ReEnrollEdgeRouterParams, interface{}) middleware.Responder

ReEnrollEdgeRouterHandlerFunc turns a function with the right signature into a re enroll edge router handler

func (ReEnrollEdgeRouterHandlerFunc) Handle

func (fn ReEnrollEdgeRouterHandlerFunc) Handle(params ReEnrollEdgeRouterParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type ReEnrollEdgeRouterNotFound

type ReEnrollEdgeRouterNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ReEnrollEdgeRouterNotFound The requested resource does not exist

swagger:response reEnrollEdgeRouterNotFound

func NewReEnrollEdgeRouterNotFound

func NewReEnrollEdgeRouterNotFound() *ReEnrollEdgeRouterNotFound

NewReEnrollEdgeRouterNotFound creates ReEnrollEdgeRouterNotFound with default headers values

func (*ReEnrollEdgeRouterNotFound) SetPayload

func (o *ReEnrollEdgeRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the re enroll edge router not found response

func (*ReEnrollEdgeRouterNotFound) WithPayload

WithPayload adds the payload to the re enroll edge router not found response

func (*ReEnrollEdgeRouterNotFound) WriteResponse

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

WriteResponse to the client

type ReEnrollEdgeRouterOK

type ReEnrollEdgeRouterOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

ReEnrollEdgeRouterOK Base empty response

swagger:response reEnrollEdgeRouterOK

func NewReEnrollEdgeRouterOK

func NewReEnrollEdgeRouterOK() *ReEnrollEdgeRouterOK

NewReEnrollEdgeRouterOK creates ReEnrollEdgeRouterOK with default headers values

func (*ReEnrollEdgeRouterOK) SetPayload

func (o *ReEnrollEdgeRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the re enroll edge router o k response

func (*ReEnrollEdgeRouterOK) WithPayload

func (o *ReEnrollEdgeRouterOK) WithPayload(payload *rest_model.Empty) *ReEnrollEdgeRouterOK

WithPayload adds the payload to the re enroll edge router o k response

func (*ReEnrollEdgeRouterOK) WriteResponse

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

WriteResponse to the client

type ReEnrollEdgeRouterParams

type ReEnrollEdgeRouterParams struct {

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

	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

ReEnrollEdgeRouterParams contains all the bound params for the re enroll edge router operation typically these are obtained from a http.Request

swagger:parameters reEnrollEdgeRouter

func NewReEnrollEdgeRouterParams

func NewReEnrollEdgeRouterParams() ReEnrollEdgeRouterParams

NewReEnrollEdgeRouterParams creates a new ReEnrollEdgeRouterParams object

There are no default values defined in the spec.

func (*ReEnrollEdgeRouterParams) 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 NewReEnrollEdgeRouterParams() beforehand.

type ReEnrollEdgeRouterURL

type ReEnrollEdgeRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

ReEnrollEdgeRouterURL generates an URL for the re enroll edge router operation

func (*ReEnrollEdgeRouterURL) Build

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

Build a url path and query string

func (*ReEnrollEdgeRouterURL) BuildFull

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

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

func (*ReEnrollEdgeRouterURL) Must

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

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

func (*ReEnrollEdgeRouterURL) SetBasePath

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

func (o *ReEnrollEdgeRouterURL) String() string

String returns the string representation of the path with query string

func (*ReEnrollEdgeRouterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ReEnrollEdgeRouterURL) WithBasePath

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

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 ReEnrollEdgeRouterUnauthorized

type ReEnrollEdgeRouterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

ReEnrollEdgeRouterUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response reEnrollEdgeRouterUnauthorized

func NewReEnrollEdgeRouterUnauthorized

func NewReEnrollEdgeRouterUnauthorized() *ReEnrollEdgeRouterUnauthorized

NewReEnrollEdgeRouterUnauthorized creates ReEnrollEdgeRouterUnauthorized with default headers values

func (*ReEnrollEdgeRouterUnauthorized) SetPayload

SetPayload sets the payload to the re enroll edge router unauthorized response

func (*ReEnrollEdgeRouterUnauthorized) WithPayload

WithPayload adds the payload to the re enroll edge router unauthorized response

func (*ReEnrollEdgeRouterUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateEdgeRouter

type UpdateEdgeRouter struct {
	Context *middleware.Context
	Handler UpdateEdgeRouterHandler
}
UpdateEdgeRouter swagger:route PUT /edge-routers/{id} Edge Router updateEdgeRouter

Update all fields on an edge router

Update all fields on an edge router by id. Requires admin access.

func NewUpdateEdgeRouter

func NewUpdateEdgeRouter(ctx *middleware.Context, handler UpdateEdgeRouterHandler) *UpdateEdgeRouter

NewUpdateEdgeRouter creates a new http.Handler for the update edge router operation

func (*UpdateEdgeRouter) ServeHTTP

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

type UpdateEdgeRouterBadRequest

type UpdateEdgeRouterBadRequest struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateEdgeRouterBadRequest The supplied request contains invalid fields or could not be parsed (json and non-json bodies). The error's code, message, and cause fields can be inspected for further information

swagger:response updateEdgeRouterBadRequest

func NewUpdateEdgeRouterBadRequest

func NewUpdateEdgeRouterBadRequest() *UpdateEdgeRouterBadRequest

NewUpdateEdgeRouterBadRequest creates UpdateEdgeRouterBadRequest with default headers values

func (*UpdateEdgeRouterBadRequest) SetPayload

func (o *UpdateEdgeRouterBadRequest) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update edge router bad request response

func (*UpdateEdgeRouterBadRequest) WithPayload

WithPayload adds the payload to the update edge router bad request response

func (*UpdateEdgeRouterBadRequest) WriteResponse

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

WriteResponse to the client

type UpdateEdgeRouterHandler

type UpdateEdgeRouterHandler interface {
	Handle(UpdateEdgeRouterParams, interface{}) middleware.Responder
}

UpdateEdgeRouterHandler interface for that can handle valid update edge router params

type UpdateEdgeRouterHandlerFunc

type UpdateEdgeRouterHandlerFunc func(UpdateEdgeRouterParams, interface{}) middleware.Responder

UpdateEdgeRouterHandlerFunc turns a function with the right signature into a update edge router handler

func (UpdateEdgeRouterHandlerFunc) Handle

func (fn UpdateEdgeRouterHandlerFunc) Handle(params UpdateEdgeRouterParams, principal interface{}) middleware.Responder

Handle executing the request and returning a response

type UpdateEdgeRouterNotFound

type UpdateEdgeRouterNotFound struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateEdgeRouterNotFound The requested resource does not exist

swagger:response updateEdgeRouterNotFound

func NewUpdateEdgeRouterNotFound

func NewUpdateEdgeRouterNotFound() *UpdateEdgeRouterNotFound

NewUpdateEdgeRouterNotFound creates UpdateEdgeRouterNotFound with default headers values

func (*UpdateEdgeRouterNotFound) SetPayload

func (o *UpdateEdgeRouterNotFound) SetPayload(payload *rest_model.APIErrorEnvelope)

SetPayload sets the payload to the update edge router not found response

func (*UpdateEdgeRouterNotFound) WithPayload

WithPayload adds the payload to the update edge router not found response

func (*UpdateEdgeRouterNotFound) WriteResponse

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

WriteResponse to the client

type UpdateEdgeRouterOK

type UpdateEdgeRouterOK struct {

	/*
	  In: Body
	*/
	Payload *rest_model.Empty `json:"body,omitempty"`
}

UpdateEdgeRouterOK The update request was successful and the resource has been altered

swagger:response updateEdgeRouterOK

func NewUpdateEdgeRouterOK

func NewUpdateEdgeRouterOK() *UpdateEdgeRouterOK

NewUpdateEdgeRouterOK creates UpdateEdgeRouterOK with default headers values

func (*UpdateEdgeRouterOK) SetPayload

func (o *UpdateEdgeRouterOK) SetPayload(payload *rest_model.Empty)

SetPayload sets the payload to the update edge router o k response

func (*UpdateEdgeRouterOK) WithPayload

func (o *UpdateEdgeRouterOK) WithPayload(payload *rest_model.Empty) *UpdateEdgeRouterOK

WithPayload adds the payload to the update edge router o k response

func (*UpdateEdgeRouterOK) WriteResponse

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

WriteResponse to the client

type UpdateEdgeRouterParams

type UpdateEdgeRouterParams struct {

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

	/*An edge router update object
	  Required: true
	  In: body
	*/
	EdgeRouter *rest_model.EdgeRouterUpdate
	/*The id of the requested resource
	  Required: true
	  In: path
	*/
	ID string
}

UpdateEdgeRouterParams contains all the bound params for the update edge router operation typically these are obtained from a http.Request

swagger:parameters updateEdgeRouter

func NewUpdateEdgeRouterParams

func NewUpdateEdgeRouterParams() UpdateEdgeRouterParams

NewUpdateEdgeRouterParams creates a new UpdateEdgeRouterParams object

There are no default values defined in the spec.

func (*UpdateEdgeRouterParams) BindRequest

func (o *UpdateEdgeRouterParams) 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 NewUpdateEdgeRouterParams() beforehand.

type UpdateEdgeRouterURL

type UpdateEdgeRouterURL struct {
	ID string
	// contains filtered or unexported fields
}

UpdateEdgeRouterURL generates an URL for the update edge router operation

func (*UpdateEdgeRouterURL) Build

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

Build a url path and query string

func (*UpdateEdgeRouterURL) BuildFull

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

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

func (*UpdateEdgeRouterURL) Must

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

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

func (*UpdateEdgeRouterURL) SetBasePath

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

func (o *UpdateEdgeRouterURL) String() string

String returns the string representation of the path with query string

func (*UpdateEdgeRouterURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateEdgeRouterURL) WithBasePath

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

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 UpdateEdgeRouterUnauthorized

type UpdateEdgeRouterUnauthorized struct {

	/*
	  In: Body
	*/
	Payload *rest_model.APIErrorEnvelope `json:"body,omitempty"`
}

UpdateEdgeRouterUnauthorized The currently supplied session does not have the correct access rights to request this resource

swagger:response updateEdgeRouterUnauthorized

func NewUpdateEdgeRouterUnauthorized

func NewUpdateEdgeRouterUnauthorized() *UpdateEdgeRouterUnauthorized

NewUpdateEdgeRouterUnauthorized creates UpdateEdgeRouterUnauthorized with default headers values

func (*UpdateEdgeRouterUnauthorized) SetPayload

SetPayload sets the payload to the update edge router unauthorized response

func (*UpdateEdgeRouterUnauthorized) WithPayload

WithPayload adds the payload to the update edge router unauthorized response

func (*UpdateEdgeRouterUnauthorized) WriteResponse

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

WriteResponse to the client

Source Files

Jump to

Keyboard shortcuts

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