well_known

package
v0.26.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ListWellKnownCasOKCode int = 200

ListWellKnownCasOKCode is the HTTP code returned for type ListWellKnownCasOK

Variables

This section is empty.

Functions

This section is empty.

Types

type ListWellKnownCas

type ListWellKnownCas struct {
	Context *middleware.Context
	Handler ListWellKnownCasHandler
}
ListWellKnownCas swagger:route GET /.well-known/est/cacerts Well Known listWellKnownCas

Get CA Cert Store

This endpoint is used during enrollments to bootstrap trust between enrolling clients and the Ziti Edge API. This endpoint returns a base64 encoded PKCS7 store. The content can be base64 decoded and parsed by any library that supports parsing PKCS7 stores.

func NewListWellKnownCas

func NewListWellKnownCas(ctx *middleware.Context, handler ListWellKnownCasHandler) *ListWellKnownCas

NewListWellKnownCas creates a new http.Handler for the list well known cas operation

func (*ListWellKnownCas) ServeHTTP

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

type ListWellKnownCasHandler

type ListWellKnownCasHandler interface {
	Handle(ListWellKnownCasParams) middleware.Responder
}

ListWellKnownCasHandler interface for that can handle valid list well known cas params

type ListWellKnownCasHandlerFunc

type ListWellKnownCasHandlerFunc func(ListWellKnownCasParams) middleware.Responder

ListWellKnownCasHandlerFunc turns a function with the right signature into a list well known cas handler

func (ListWellKnownCasHandlerFunc) Handle

Handle executing the request and returning a response

type ListWellKnownCasOK

type ListWellKnownCasOK struct {

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

ListWellKnownCasOK A base64 encoded PKCS7 store

swagger:response listWellKnownCasOK

func NewListWellKnownCasOK

func NewListWellKnownCasOK() *ListWellKnownCasOK

NewListWellKnownCasOK creates ListWellKnownCasOK with default headers values

func (*ListWellKnownCasOK) SetPayload

func (o *ListWellKnownCasOK) SetPayload(payload string)

SetPayload sets the payload to the list well known cas o k response

func (*ListWellKnownCasOK) WithPayload

func (o *ListWellKnownCasOK) WithPayload(payload string) *ListWellKnownCasOK

WithPayload adds the payload to the list well known cas o k response

func (*ListWellKnownCasOK) WriteResponse

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

WriteResponse to the client

type ListWellKnownCasParams

type ListWellKnownCasParams struct {

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

ListWellKnownCasParams contains all the bound params for the list well known cas operation typically these are obtained from a http.Request

swagger:parameters listWellKnownCas

func NewListWellKnownCasParams

func NewListWellKnownCasParams() ListWellKnownCasParams

NewListWellKnownCasParams creates a new ListWellKnownCasParams object

There are no default values defined in the spec.

func (*ListWellKnownCasParams) BindRequest

func (o *ListWellKnownCasParams) 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 NewListWellKnownCasParams() beforehand.

type ListWellKnownCasURL

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

ListWellKnownCasURL generates an URL for the list well known cas operation

func (*ListWellKnownCasURL) Build

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

Build a url path and query string

func (*ListWellKnownCasURL) BuildFull

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

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

func (*ListWellKnownCasURL) Must

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

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

func (*ListWellKnownCasURL) SetBasePath

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

func (o *ListWellKnownCasURL) String() string

String returns the string representation of the path with query string

func (*ListWellKnownCasURL) StringFull

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

StringFull returns the string representation of a complete url

func (*ListWellKnownCasURL) WithBasePath

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

WithBasePath sets the base path for this url builder, only required when it's different from the base path specified in the swagger spec. When the value of the base path is an empty string

Jump to

Keyboard shortcuts

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