admin

package
v0.4.16 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const CreateFrontendBadRequestCode int = 400

CreateFrontendBadRequestCode is the HTTP code returned for type CreateFrontendBadRequest

View Source
const CreateFrontendCreatedCode int = 201

CreateFrontendCreatedCode is the HTTP code returned for type CreateFrontendCreated

View Source
const CreateFrontendInternalServerErrorCode int = 500

CreateFrontendInternalServerErrorCode is the HTTP code returned for type CreateFrontendInternalServerError

View Source
const CreateFrontendNotFoundCode int = 404

CreateFrontendNotFoundCode is the HTTP code returned for type CreateFrontendNotFound

View Source
const CreateFrontendUnauthorizedCode int = 401

CreateFrontendUnauthorizedCode is the HTTP code returned for type CreateFrontendUnauthorized

View Source
const CreateIdentityCreatedCode int = 201

CreateIdentityCreatedCode is the HTTP code returned for type CreateIdentityCreated

View Source
const CreateIdentityInternalServerErrorCode int = 500

CreateIdentityInternalServerErrorCode is the HTTP code returned for type CreateIdentityInternalServerError

View Source
const CreateIdentityUnauthorizedCode int = 401

CreateIdentityUnauthorizedCode is the HTTP code returned for type CreateIdentityUnauthorized

View Source
const DeleteFrontendInternalServerErrorCode int = 500

DeleteFrontendInternalServerErrorCode is the HTTP code returned for type DeleteFrontendInternalServerError

View Source
const DeleteFrontendNotFoundCode int = 404

DeleteFrontendNotFoundCode is the HTTP code returned for type DeleteFrontendNotFound

View Source
const DeleteFrontendOKCode int = 200

DeleteFrontendOKCode is the HTTP code returned for type DeleteFrontendOK

View Source
const DeleteFrontendUnauthorizedCode int = 401

DeleteFrontendUnauthorizedCode is the HTTP code returned for type DeleteFrontendUnauthorized

View Source
const InviteTokenGenerateBadRequestCode int = 400

InviteTokenGenerateBadRequestCode is the HTTP code returned for type InviteTokenGenerateBadRequest

View Source
const InviteTokenGenerateCreatedCode int = 201

InviteTokenGenerateCreatedCode is the HTTP code returned for type InviteTokenGenerateCreated

View Source
const InviteTokenGenerateInternalServerErrorCode int = 500

InviteTokenGenerateInternalServerErrorCode is the HTTP code returned for type InviteTokenGenerateInternalServerError

View Source
const InviteTokenGenerateUnauthorizedCode int = 401

InviteTokenGenerateUnauthorizedCode is the HTTP code returned for type InviteTokenGenerateUnauthorized

View Source
const ListFrontendsInternalServerErrorCode int = 500

ListFrontendsInternalServerErrorCode is the HTTP code returned for type ListFrontendsInternalServerError

View Source
const ListFrontendsOKCode int = 200

ListFrontendsOKCode is the HTTP code returned for type ListFrontendsOK

View Source
const ListFrontendsUnauthorizedCode int = 401

ListFrontendsUnauthorizedCode is the HTTP code returned for type ListFrontendsUnauthorized

View Source
const UpdateFrontendInternalServerErrorCode int = 500

UpdateFrontendInternalServerErrorCode is the HTTP code returned for type UpdateFrontendInternalServerError

View Source
const UpdateFrontendNotFoundCode int = 404

UpdateFrontendNotFoundCode is the HTTP code returned for type UpdateFrontendNotFound

View Source
const UpdateFrontendOKCode int = 200

UpdateFrontendOKCode is the HTTP code returned for type UpdateFrontendOK

View Source
const UpdateFrontendUnauthorizedCode int = 401

UpdateFrontendUnauthorizedCode is the HTTP code returned for type UpdateFrontendUnauthorized

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateFrontend

type CreateFrontend struct {
	Context *middleware.Context
	Handler CreateFrontendHandler
}
CreateFrontend swagger:route POST /frontend admin createFrontend

CreateFrontend create frontend API

func NewCreateFrontend

func NewCreateFrontend(ctx *middleware.Context, handler CreateFrontendHandler) *CreateFrontend

NewCreateFrontend creates a new http.Handler for the create frontend operation

func (*CreateFrontend) ServeHTTP

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

type CreateFrontendBadRequest

type CreateFrontendBadRequest struct {
}

CreateFrontendBadRequest bad request

swagger:response createFrontendBadRequest

func NewCreateFrontendBadRequest

func NewCreateFrontendBadRequest() *CreateFrontendBadRequest

NewCreateFrontendBadRequest creates CreateFrontendBadRequest with default headers values

func (*CreateFrontendBadRequest) WriteResponse

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

WriteResponse to the client

type CreateFrontendCreated

type CreateFrontendCreated struct {

	/*
	  In: Body
	*/
	Payload *rest_model_zrok.CreateFrontendResponse `json:"body,omitempty"`
}

CreateFrontendCreated frontend created

swagger:response createFrontendCreated

func NewCreateFrontendCreated

func NewCreateFrontendCreated() *CreateFrontendCreated

NewCreateFrontendCreated creates CreateFrontendCreated with default headers values

func (*CreateFrontendCreated) SetPayload

SetPayload sets the payload to the create frontend created response

func (*CreateFrontendCreated) WithPayload

WithPayload adds the payload to the create frontend created response

func (*CreateFrontendCreated) WriteResponse

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

WriteResponse to the client

type CreateFrontendHandler

type CreateFrontendHandler interface {
	Handle(CreateFrontendParams, *rest_model_zrok.Principal) middleware.Responder
}

CreateFrontendHandler interface for that can handle valid create frontend params

type CreateFrontendHandlerFunc

type CreateFrontendHandlerFunc func(CreateFrontendParams, *rest_model_zrok.Principal) middleware.Responder

CreateFrontendHandlerFunc turns a function with the right signature into a create frontend handler

func (CreateFrontendHandlerFunc) Handle

Handle executing the request and returning a response

type CreateFrontendInternalServerError

type CreateFrontendInternalServerError struct {
}

CreateFrontendInternalServerError internal server error

swagger:response createFrontendInternalServerError

func NewCreateFrontendInternalServerError

func NewCreateFrontendInternalServerError() *CreateFrontendInternalServerError

NewCreateFrontendInternalServerError creates CreateFrontendInternalServerError with default headers values

func (*CreateFrontendInternalServerError) WriteResponse

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

WriteResponse to the client

type CreateFrontendNotFound

type CreateFrontendNotFound struct {
}

CreateFrontendNotFound not found

swagger:response createFrontendNotFound

func NewCreateFrontendNotFound

func NewCreateFrontendNotFound() *CreateFrontendNotFound

NewCreateFrontendNotFound creates CreateFrontendNotFound with default headers values

func (*CreateFrontendNotFound) WriteResponse

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

WriteResponse to the client

type CreateFrontendParams

type CreateFrontendParams struct {

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

	/*
	  In: body
	*/
	Body *rest_model_zrok.CreateFrontendRequest
}

CreateFrontendParams contains all the bound params for the create frontend operation typically these are obtained from a http.Request

swagger:parameters createFrontend

func NewCreateFrontendParams

func NewCreateFrontendParams() CreateFrontendParams

NewCreateFrontendParams creates a new CreateFrontendParams object

There are no default values defined in the spec.

func (*CreateFrontendParams) BindRequest

func (o *CreateFrontendParams) 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 NewCreateFrontendParams() beforehand.

type CreateFrontendURL

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

CreateFrontendURL generates an URL for the create frontend operation

func (*CreateFrontendURL) Build

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

Build a url path and query string

func (*CreateFrontendURL) BuildFull

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

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

func (*CreateFrontendURL) Must

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

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

func (*CreateFrontendURL) SetBasePath

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

func (o *CreateFrontendURL) String() string

String returns the string representation of the path with query string

func (*CreateFrontendURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateFrontendURL) WithBasePath

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

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 CreateFrontendUnauthorized

type CreateFrontendUnauthorized struct {
}

CreateFrontendUnauthorized unauthorized

swagger:response createFrontendUnauthorized

func NewCreateFrontendUnauthorized

func NewCreateFrontendUnauthorized() *CreateFrontendUnauthorized

NewCreateFrontendUnauthorized creates CreateFrontendUnauthorized with default headers values

func (*CreateFrontendUnauthorized) WriteResponse

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

WriteResponse to the client

type CreateIdentity

type CreateIdentity struct {
	Context *middleware.Context
	Handler CreateIdentityHandler
}
CreateIdentity swagger:route POST /identity admin createIdentity

CreateIdentity create identity API

func NewCreateIdentity

func NewCreateIdentity(ctx *middleware.Context, handler CreateIdentityHandler) *CreateIdentity

NewCreateIdentity creates a new http.Handler for the create identity operation

func (*CreateIdentity) ServeHTTP

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

type CreateIdentityBody

type CreateIdentityBody struct {

	// name
	Name string `json:"name,omitempty"`
}

CreateIdentityBody create identity body

swagger:model CreateIdentityBody

func (*CreateIdentityBody) ContextValidate

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

ContextValidate validates this create identity body based on context it is used

func (*CreateIdentityBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateIdentityBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateIdentityBody) Validate

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

Validate validates this create identity body

type CreateIdentityCreated

type CreateIdentityCreated struct {

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

CreateIdentityCreated created

swagger:response createIdentityCreated

func NewCreateIdentityCreated

func NewCreateIdentityCreated() *CreateIdentityCreated

NewCreateIdentityCreated creates CreateIdentityCreated with default headers values

func (*CreateIdentityCreated) SetPayload

func (o *CreateIdentityCreated) SetPayload(payload *CreateIdentityCreatedBody)

SetPayload sets the payload to the create identity created response

func (*CreateIdentityCreated) WithPayload

WithPayload adds the payload to the create identity created response

func (*CreateIdentityCreated) WriteResponse

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

WriteResponse to the client

type CreateIdentityCreatedBody

type CreateIdentityCreatedBody struct {

	// cfg
	Cfg string `json:"cfg,omitempty"`

	// identity
	Identity string `json:"identity,omitempty"`
}

CreateIdentityCreatedBody create identity created body

swagger:model CreateIdentityCreatedBody

func (*CreateIdentityCreatedBody) ContextValidate

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

ContextValidate validates this create identity created body based on context it is used

func (*CreateIdentityCreatedBody) MarshalBinary

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

MarshalBinary interface implementation

func (*CreateIdentityCreatedBody) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*CreateIdentityCreatedBody) Validate

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

Validate validates this create identity created body

type CreateIdentityHandler

type CreateIdentityHandler interface {
	Handle(CreateIdentityParams, *rest_model_zrok.Principal) middleware.Responder
}

CreateIdentityHandler interface for that can handle valid create identity params

type CreateIdentityHandlerFunc

type CreateIdentityHandlerFunc func(CreateIdentityParams, *rest_model_zrok.Principal) middleware.Responder

CreateIdentityHandlerFunc turns a function with the right signature into a create identity handler

func (CreateIdentityHandlerFunc) Handle

Handle executing the request and returning a response

type CreateIdentityInternalServerError

type CreateIdentityInternalServerError struct {
}

CreateIdentityInternalServerError internal server error

swagger:response createIdentityInternalServerError

func NewCreateIdentityInternalServerError

func NewCreateIdentityInternalServerError() *CreateIdentityInternalServerError

NewCreateIdentityInternalServerError creates CreateIdentityInternalServerError with default headers values

func (*CreateIdentityInternalServerError) WriteResponse

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

WriteResponse to the client

type CreateIdentityParams

type CreateIdentityParams struct {

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

	/*
	  In: body
	*/
	Body CreateIdentityBody
}

CreateIdentityParams contains all the bound params for the create identity operation typically these are obtained from a http.Request

swagger:parameters createIdentity

func NewCreateIdentityParams

func NewCreateIdentityParams() CreateIdentityParams

NewCreateIdentityParams creates a new CreateIdentityParams object

There are no default values defined in the spec.

func (*CreateIdentityParams) BindRequest

func (o *CreateIdentityParams) 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 NewCreateIdentityParams() beforehand.

type CreateIdentityURL

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

CreateIdentityURL generates an URL for the create identity operation

func (*CreateIdentityURL) Build

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

Build a url path and query string

func (*CreateIdentityURL) BuildFull

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

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

func (*CreateIdentityURL) Must

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

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

func (*CreateIdentityURL) SetBasePath

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

func (o *CreateIdentityURL) String() string

String returns the string representation of the path with query string

func (*CreateIdentityURL) StringFull

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

StringFull returns the string representation of a complete url

func (*CreateIdentityURL) WithBasePath

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

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 CreateIdentityUnauthorized

type CreateIdentityUnauthorized struct {
}

CreateIdentityUnauthorized unauthorized

swagger:response createIdentityUnauthorized

func NewCreateIdentityUnauthorized

func NewCreateIdentityUnauthorized() *CreateIdentityUnauthorized

NewCreateIdentityUnauthorized creates CreateIdentityUnauthorized with default headers values

func (*CreateIdentityUnauthorized) WriteResponse

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

WriteResponse to the client

type DeleteFrontend

type DeleteFrontend struct {
	Context *middleware.Context
	Handler DeleteFrontendHandler
}
DeleteFrontend swagger:route DELETE /frontend admin deleteFrontend

DeleteFrontend delete frontend API

func NewDeleteFrontend

func NewDeleteFrontend(ctx *middleware.Context, handler DeleteFrontendHandler) *DeleteFrontend

NewDeleteFrontend creates a new http.Handler for the delete frontend operation

func (*DeleteFrontend) ServeHTTP

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

type DeleteFrontendHandler

type DeleteFrontendHandler interface {
	Handle(DeleteFrontendParams, *rest_model_zrok.Principal) middleware.Responder
}

DeleteFrontendHandler interface for that can handle valid delete frontend params

type DeleteFrontendHandlerFunc

type DeleteFrontendHandlerFunc func(DeleteFrontendParams, *rest_model_zrok.Principal) middleware.Responder

DeleteFrontendHandlerFunc turns a function with the right signature into a delete frontend handler

func (DeleteFrontendHandlerFunc) Handle

Handle executing the request and returning a response

type DeleteFrontendInternalServerError

type DeleteFrontendInternalServerError struct {
}

DeleteFrontendInternalServerError internal server error

swagger:response deleteFrontendInternalServerError

func NewDeleteFrontendInternalServerError

func NewDeleteFrontendInternalServerError() *DeleteFrontendInternalServerError

NewDeleteFrontendInternalServerError creates DeleteFrontendInternalServerError with default headers values

func (*DeleteFrontendInternalServerError) WriteResponse

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

WriteResponse to the client

type DeleteFrontendNotFound

type DeleteFrontendNotFound struct {
}

DeleteFrontendNotFound not found

swagger:response deleteFrontendNotFound

func NewDeleteFrontendNotFound

func NewDeleteFrontendNotFound() *DeleteFrontendNotFound

NewDeleteFrontendNotFound creates DeleteFrontendNotFound with default headers values

func (*DeleteFrontendNotFound) WriteResponse

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

WriteResponse to the client

type DeleteFrontendOK

type DeleteFrontendOK struct {
}

DeleteFrontendOK frontend deleted

swagger:response deleteFrontendOK

func NewDeleteFrontendOK

func NewDeleteFrontendOK() *DeleteFrontendOK

NewDeleteFrontendOK creates DeleteFrontendOK with default headers values

func (*DeleteFrontendOK) WriteResponse

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

WriteResponse to the client

type DeleteFrontendParams

type DeleteFrontendParams struct {

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

	/*
	  In: body
	*/
	Body *rest_model_zrok.DeleteFrontendRequest
}

DeleteFrontendParams contains all the bound params for the delete frontend operation typically these are obtained from a http.Request

swagger:parameters deleteFrontend

func NewDeleteFrontendParams

func NewDeleteFrontendParams() DeleteFrontendParams

NewDeleteFrontendParams creates a new DeleteFrontendParams object

There are no default values defined in the spec.

func (*DeleteFrontendParams) BindRequest

func (o *DeleteFrontendParams) 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 NewDeleteFrontendParams() beforehand.

type DeleteFrontendURL

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

DeleteFrontendURL generates an URL for the delete frontend operation

func (*DeleteFrontendURL) Build

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

Build a url path and query string

func (*DeleteFrontendURL) BuildFull

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

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

func (*DeleteFrontendURL) Must

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

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

func (*DeleteFrontendURL) SetBasePath

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

func (o *DeleteFrontendURL) String() string

String returns the string representation of the path with query string

func (*DeleteFrontendURL) StringFull

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

StringFull returns the string representation of a complete url

func (*DeleteFrontendURL) WithBasePath

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

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 DeleteFrontendUnauthorized

type DeleteFrontendUnauthorized struct {
}

DeleteFrontendUnauthorized unauthorized

swagger:response deleteFrontendUnauthorized

func NewDeleteFrontendUnauthorized

func NewDeleteFrontendUnauthorized() *DeleteFrontendUnauthorized

NewDeleteFrontendUnauthorized creates DeleteFrontendUnauthorized with default headers values

func (*DeleteFrontendUnauthorized) WriteResponse

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

WriteResponse to the client

type InviteTokenGenerate

type InviteTokenGenerate struct {
	Context *middleware.Context
	Handler InviteTokenGenerateHandler
}
InviteTokenGenerate swagger:route POST /invite/token/generate admin inviteTokenGenerate

InviteTokenGenerate invite token generate API

func NewInviteTokenGenerate

func NewInviteTokenGenerate(ctx *middleware.Context, handler InviteTokenGenerateHandler) *InviteTokenGenerate

NewInviteTokenGenerate creates a new http.Handler for the invite token generate operation

func (*InviteTokenGenerate) ServeHTTP

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

type InviteTokenGenerateBadRequest

type InviteTokenGenerateBadRequest struct {
}

InviteTokenGenerateBadRequest invitation tokens not created

swagger:response inviteTokenGenerateBadRequest

func NewInviteTokenGenerateBadRequest

func NewInviteTokenGenerateBadRequest() *InviteTokenGenerateBadRequest

NewInviteTokenGenerateBadRequest creates InviteTokenGenerateBadRequest with default headers values

func (*InviteTokenGenerateBadRequest) WriteResponse

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

WriteResponse to the client

type InviteTokenGenerateCreated

type InviteTokenGenerateCreated struct {
}

InviteTokenGenerateCreated invitation tokens created

swagger:response inviteTokenGenerateCreated

func NewInviteTokenGenerateCreated

func NewInviteTokenGenerateCreated() *InviteTokenGenerateCreated

NewInviteTokenGenerateCreated creates InviteTokenGenerateCreated with default headers values

func (*InviteTokenGenerateCreated) WriteResponse

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

WriteResponse to the client

type InviteTokenGenerateHandler

type InviteTokenGenerateHandler interface {
	Handle(InviteTokenGenerateParams, *rest_model_zrok.Principal) middleware.Responder
}

InviteTokenGenerateHandler interface for that can handle valid invite token generate params

type InviteTokenGenerateHandlerFunc

type InviteTokenGenerateHandlerFunc func(InviteTokenGenerateParams, *rest_model_zrok.Principal) middleware.Responder

InviteTokenGenerateHandlerFunc turns a function with the right signature into a invite token generate handler

func (InviteTokenGenerateHandlerFunc) Handle

Handle executing the request and returning a response

type InviteTokenGenerateInternalServerError

type InviteTokenGenerateInternalServerError struct {
}

InviteTokenGenerateInternalServerError internal server error

swagger:response inviteTokenGenerateInternalServerError

func NewInviteTokenGenerateInternalServerError

func NewInviteTokenGenerateInternalServerError() *InviteTokenGenerateInternalServerError

NewInviteTokenGenerateInternalServerError creates InviteTokenGenerateInternalServerError with default headers values

func (*InviteTokenGenerateInternalServerError) WriteResponse

WriteResponse to the client

type InviteTokenGenerateParams

type InviteTokenGenerateParams struct {

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

	/*
	  In: body
	*/
	Body *rest_model_zrok.InviteTokenGenerateRequest
}

InviteTokenGenerateParams contains all the bound params for the invite token generate operation typically these are obtained from a http.Request

swagger:parameters inviteTokenGenerate

func NewInviteTokenGenerateParams

func NewInviteTokenGenerateParams() InviteTokenGenerateParams

NewInviteTokenGenerateParams creates a new InviteTokenGenerateParams object

There are no default values defined in the spec.

func (*InviteTokenGenerateParams) 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 NewInviteTokenGenerateParams() beforehand.

type InviteTokenGenerateURL

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

InviteTokenGenerateURL generates an URL for the invite token generate operation

func (*InviteTokenGenerateURL) Build

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

Build a url path and query string

func (*InviteTokenGenerateURL) BuildFull

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

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

func (*InviteTokenGenerateURL) Must

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

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

func (*InviteTokenGenerateURL) SetBasePath

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

func (o *InviteTokenGenerateURL) String() string

String returns the string representation of the path with query string

func (*InviteTokenGenerateURL) StringFull

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

StringFull returns the string representation of a complete url

func (*InviteTokenGenerateURL) 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 InviteTokenGenerateUnauthorized

type InviteTokenGenerateUnauthorized struct {
}

InviteTokenGenerateUnauthorized unauthorized

swagger:response inviteTokenGenerateUnauthorized

func NewInviteTokenGenerateUnauthorized

func NewInviteTokenGenerateUnauthorized() *InviteTokenGenerateUnauthorized

NewInviteTokenGenerateUnauthorized creates InviteTokenGenerateUnauthorized with default headers values

func (*InviteTokenGenerateUnauthorized) WriteResponse

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

WriteResponse to the client

type ListFrontends

type ListFrontends struct {
	Context *middleware.Context
	Handler ListFrontendsHandler
}
ListFrontends swagger:route GET /frontends admin listFrontends

ListFrontends list frontends API

func NewListFrontends

func NewListFrontends(ctx *middleware.Context, handler ListFrontendsHandler) *ListFrontends

NewListFrontends creates a new http.Handler for the list frontends operation

func (*ListFrontends) ServeHTTP

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

type ListFrontendsHandler

type ListFrontendsHandler interface {
	Handle(ListFrontendsParams, *rest_model_zrok.Principal) middleware.Responder
}

ListFrontendsHandler interface for that can handle valid list frontends params

type ListFrontendsHandlerFunc

type ListFrontendsHandlerFunc func(ListFrontendsParams, *rest_model_zrok.Principal) middleware.Responder

ListFrontendsHandlerFunc turns a function with the right signature into a list frontends handler

func (ListFrontendsHandlerFunc) Handle

Handle executing the request and returning a response

type ListFrontendsInternalServerError

type ListFrontendsInternalServerError struct {
}

ListFrontendsInternalServerError internal server error

swagger:response listFrontendsInternalServerError

func NewListFrontendsInternalServerError

func NewListFrontendsInternalServerError() *ListFrontendsInternalServerError

NewListFrontendsInternalServerError creates ListFrontendsInternalServerError with default headers values

func (*ListFrontendsInternalServerError) WriteResponse

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

WriteResponse to the client

type ListFrontendsOK

type ListFrontendsOK struct {

	/*
	  In: Body
	*/
	Payload rest_model_zrok.PublicFrontendList `json:"body,omitempty"`
}

ListFrontendsOK ok

swagger:response listFrontendsOK

func NewListFrontendsOK

func NewListFrontendsOK() *ListFrontendsOK

NewListFrontendsOK creates ListFrontendsOK with default headers values

func (*ListFrontendsOK) SetPayload

func (o *ListFrontendsOK) SetPayload(payload rest_model_zrok.PublicFrontendList)

SetPayload sets the payload to the list frontends o k response

func (*ListFrontendsOK) WithPayload

WithPayload adds the payload to the list frontends o k response

func (*ListFrontendsOK) WriteResponse

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

WriteResponse to the client

type ListFrontendsParams

type ListFrontendsParams struct {

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

ListFrontendsParams contains all the bound params for the list frontends operation typically these are obtained from a http.Request

swagger:parameters listFrontends

func NewListFrontendsParams

func NewListFrontendsParams() ListFrontendsParams

NewListFrontendsParams creates a new ListFrontendsParams object

There are no default values defined in the spec.

func (*ListFrontendsParams) BindRequest

func (o *ListFrontendsParams) 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 NewListFrontendsParams() beforehand.

type ListFrontendsURL

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

ListFrontendsURL generates an URL for the list frontends operation

func (*ListFrontendsURL) Build

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

Build a url path and query string

func (*ListFrontendsURL) BuildFull

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

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

func (*ListFrontendsURL) Must

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

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

func (*ListFrontendsURL) SetBasePath

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

func (o *ListFrontendsURL) String() string

String returns the string representation of the path with query string

func (*ListFrontendsURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListFrontendsURL) WithBasePath

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

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 ListFrontendsUnauthorized

type ListFrontendsUnauthorized struct {
}

ListFrontendsUnauthorized unauthorized

swagger:response listFrontendsUnauthorized

func NewListFrontendsUnauthorized

func NewListFrontendsUnauthorized() *ListFrontendsUnauthorized

NewListFrontendsUnauthorized creates ListFrontendsUnauthorized with default headers values

func (*ListFrontendsUnauthorized) WriteResponse

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

WriteResponse to the client

type UpdateFrontend

type UpdateFrontend struct {
	Context *middleware.Context
	Handler UpdateFrontendHandler
}
UpdateFrontend swagger:route PATCH /frontend admin updateFrontend

UpdateFrontend update frontend API

func NewUpdateFrontend

func NewUpdateFrontend(ctx *middleware.Context, handler UpdateFrontendHandler) *UpdateFrontend

NewUpdateFrontend creates a new http.Handler for the update frontend operation

func (*UpdateFrontend) ServeHTTP

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

type UpdateFrontendHandler

type UpdateFrontendHandler interface {
	Handle(UpdateFrontendParams, *rest_model_zrok.Principal) middleware.Responder
}

UpdateFrontendHandler interface for that can handle valid update frontend params

type UpdateFrontendHandlerFunc

type UpdateFrontendHandlerFunc func(UpdateFrontendParams, *rest_model_zrok.Principal) middleware.Responder

UpdateFrontendHandlerFunc turns a function with the right signature into a update frontend handler

func (UpdateFrontendHandlerFunc) Handle

Handle executing the request and returning a response

type UpdateFrontendInternalServerError

type UpdateFrontendInternalServerError struct {
}

UpdateFrontendInternalServerError internal server error

swagger:response updateFrontendInternalServerError

func NewUpdateFrontendInternalServerError

func NewUpdateFrontendInternalServerError() *UpdateFrontendInternalServerError

NewUpdateFrontendInternalServerError creates UpdateFrontendInternalServerError with default headers values

func (*UpdateFrontendInternalServerError) WriteResponse

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

WriteResponse to the client

type UpdateFrontendNotFound

type UpdateFrontendNotFound struct {
}

UpdateFrontendNotFound not found

swagger:response updateFrontendNotFound

func NewUpdateFrontendNotFound

func NewUpdateFrontendNotFound() *UpdateFrontendNotFound

NewUpdateFrontendNotFound creates UpdateFrontendNotFound with default headers values

func (*UpdateFrontendNotFound) WriteResponse

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

WriteResponse to the client

type UpdateFrontendOK

type UpdateFrontendOK struct {
}

UpdateFrontendOK frontend updated

swagger:response updateFrontendOK

func NewUpdateFrontendOK

func NewUpdateFrontendOK() *UpdateFrontendOK

NewUpdateFrontendOK creates UpdateFrontendOK with default headers values

func (*UpdateFrontendOK) WriteResponse

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

WriteResponse to the client

type UpdateFrontendParams

type UpdateFrontendParams struct {

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

	/*
	  In: body
	*/
	Body *rest_model_zrok.UpdateFrontendRequest
}

UpdateFrontendParams contains all the bound params for the update frontend operation typically these are obtained from a http.Request

swagger:parameters updateFrontend

func NewUpdateFrontendParams

func NewUpdateFrontendParams() UpdateFrontendParams

NewUpdateFrontendParams creates a new UpdateFrontendParams object

There are no default values defined in the spec.

func (*UpdateFrontendParams) BindRequest

func (o *UpdateFrontendParams) 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 NewUpdateFrontendParams() beforehand.

type UpdateFrontendURL

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

UpdateFrontendURL generates an URL for the update frontend operation

func (*UpdateFrontendURL) Build

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

Build a url path and query string

func (*UpdateFrontendURL) BuildFull

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

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

func (*UpdateFrontendURL) Must

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

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

func (*UpdateFrontendURL) SetBasePath

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

func (o *UpdateFrontendURL) String() string

String returns the string representation of the path with query string

func (*UpdateFrontendURL) StringFull

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

StringFull returns the string representation of a complete url

func (*UpdateFrontendURL) WithBasePath

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

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 UpdateFrontendUnauthorized

type UpdateFrontendUnauthorized struct {
}

UpdateFrontendUnauthorized unauthorized

swagger:response updateFrontendUnauthorized

func NewUpdateFrontendUnauthorized

func NewUpdateFrontendUnauthorized() *UpdateFrontendUnauthorized

NewUpdateFrontendUnauthorized creates UpdateFrontendUnauthorized with default headers values

func (*UpdateFrontendUnauthorized) WriteResponse

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

WriteResponse to the client

Jump to

Keyboard shortcuts

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