Documentation ¶
Index ¶
- type Client
- func (a *Client) CreateFrontend(params *CreateFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateFrontendCreated, error)
- func (a *Client) CreateIdentity(params *CreateIdentityParams, authInfo runtime.ClientAuthInfoWriter, ...) (*CreateIdentityCreated, error)
- func (a *Client) DeleteFrontend(params *DeleteFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*DeleteFrontendOK, error)
- func (a *Client) InviteTokenGenerate(params *InviteTokenGenerateParams, authInfo runtime.ClientAuthInfoWriter, ...) (*InviteTokenGenerateCreated, error)
- func (a *Client) ListFrontends(params *ListFrontendsParams, authInfo runtime.ClientAuthInfoWriter, ...) (*ListFrontendsOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- func (a *Client) UpdateFrontend(params *UpdateFrontendParams, authInfo runtime.ClientAuthInfoWriter, ...) (*UpdateFrontendOK, error)
- type ClientOption
- type ClientService
- type CreateFrontendBadRequest
- func (o *CreateFrontendBadRequest) Error() string
- func (o *CreateFrontendBadRequest) IsClientError() bool
- func (o *CreateFrontendBadRequest) IsCode(code int) bool
- func (o *CreateFrontendBadRequest) IsRedirect() bool
- func (o *CreateFrontendBadRequest) IsServerError() bool
- func (o *CreateFrontendBadRequest) IsSuccess() bool
- func (o *CreateFrontendBadRequest) String() string
- type CreateFrontendCreated
- func (o *CreateFrontendCreated) Error() string
- func (o *CreateFrontendCreated) GetPayload() *rest_model_zrok.CreateFrontendResponse
- func (o *CreateFrontendCreated) IsClientError() bool
- func (o *CreateFrontendCreated) IsCode(code int) bool
- func (o *CreateFrontendCreated) IsRedirect() bool
- func (o *CreateFrontendCreated) IsServerError() bool
- func (o *CreateFrontendCreated) IsSuccess() bool
- func (o *CreateFrontendCreated) String() string
- type CreateFrontendInternalServerError
- func (o *CreateFrontendInternalServerError) Error() string
- func (o *CreateFrontendInternalServerError) IsClientError() bool
- func (o *CreateFrontendInternalServerError) IsCode(code int) bool
- func (o *CreateFrontendInternalServerError) IsRedirect() bool
- func (o *CreateFrontendInternalServerError) IsServerError() bool
- func (o *CreateFrontendInternalServerError) IsSuccess() bool
- func (o *CreateFrontendInternalServerError) String() string
- type CreateFrontendNotFound
- func (o *CreateFrontendNotFound) Error() string
- func (o *CreateFrontendNotFound) IsClientError() bool
- func (o *CreateFrontendNotFound) IsCode(code int) bool
- func (o *CreateFrontendNotFound) IsRedirect() bool
- func (o *CreateFrontendNotFound) IsServerError() bool
- func (o *CreateFrontendNotFound) IsSuccess() bool
- func (o *CreateFrontendNotFound) String() string
- type CreateFrontendParams
- func NewCreateFrontendParams() *CreateFrontendParams
- func NewCreateFrontendParamsWithContext(ctx context.Context) *CreateFrontendParams
- func NewCreateFrontendParamsWithHTTPClient(client *http.Client) *CreateFrontendParams
- func NewCreateFrontendParamsWithTimeout(timeout time.Duration) *CreateFrontendParams
- func (o *CreateFrontendParams) SetBody(body *rest_model_zrok.CreateFrontendRequest)
- func (o *CreateFrontendParams) SetContext(ctx context.Context)
- func (o *CreateFrontendParams) SetDefaults()
- func (o *CreateFrontendParams) SetHTTPClient(client *http.Client)
- func (o *CreateFrontendParams) SetTimeout(timeout time.Duration)
- func (o *CreateFrontendParams) WithBody(body *rest_model_zrok.CreateFrontendRequest) *CreateFrontendParams
- func (o *CreateFrontendParams) WithContext(ctx context.Context) *CreateFrontendParams
- func (o *CreateFrontendParams) WithDefaults() *CreateFrontendParams
- func (o *CreateFrontendParams) WithHTTPClient(client *http.Client) *CreateFrontendParams
- func (o *CreateFrontendParams) WithTimeout(timeout time.Duration) *CreateFrontendParams
- func (o *CreateFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateFrontendReader
- type CreateFrontendUnauthorized
- func (o *CreateFrontendUnauthorized) Error() string
- func (o *CreateFrontendUnauthorized) IsClientError() bool
- func (o *CreateFrontendUnauthorized) IsCode(code int) bool
- func (o *CreateFrontendUnauthorized) IsRedirect() bool
- func (o *CreateFrontendUnauthorized) IsServerError() bool
- func (o *CreateFrontendUnauthorized) IsSuccess() bool
- func (o *CreateFrontendUnauthorized) String() string
- type CreateIdentityBody
- type CreateIdentityCreated
- func (o *CreateIdentityCreated) Error() string
- func (o *CreateIdentityCreated) GetPayload() *CreateIdentityCreatedBody
- func (o *CreateIdentityCreated) IsClientError() bool
- func (o *CreateIdentityCreated) IsCode(code int) bool
- func (o *CreateIdentityCreated) IsRedirect() bool
- func (o *CreateIdentityCreated) IsServerError() bool
- func (o *CreateIdentityCreated) IsSuccess() bool
- func (o *CreateIdentityCreated) String() string
- type CreateIdentityCreatedBody
- func (o *CreateIdentityCreatedBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *CreateIdentityCreatedBody) MarshalBinary() ([]byte, error)
- func (o *CreateIdentityCreatedBody) UnmarshalBinary(b []byte) error
- func (o *CreateIdentityCreatedBody) Validate(formats strfmt.Registry) error
- type CreateIdentityInternalServerError
- func (o *CreateIdentityInternalServerError) Error() string
- func (o *CreateIdentityInternalServerError) IsClientError() bool
- func (o *CreateIdentityInternalServerError) IsCode(code int) bool
- func (o *CreateIdentityInternalServerError) IsRedirect() bool
- func (o *CreateIdentityInternalServerError) IsServerError() bool
- func (o *CreateIdentityInternalServerError) IsSuccess() bool
- func (o *CreateIdentityInternalServerError) String() string
- type CreateIdentityParams
- func NewCreateIdentityParams() *CreateIdentityParams
- func NewCreateIdentityParamsWithContext(ctx context.Context) *CreateIdentityParams
- func NewCreateIdentityParamsWithHTTPClient(client *http.Client) *CreateIdentityParams
- func NewCreateIdentityParamsWithTimeout(timeout time.Duration) *CreateIdentityParams
- func (o *CreateIdentityParams) SetBody(body CreateIdentityBody)
- func (o *CreateIdentityParams) SetContext(ctx context.Context)
- func (o *CreateIdentityParams) SetDefaults()
- func (o *CreateIdentityParams) SetHTTPClient(client *http.Client)
- func (o *CreateIdentityParams) SetTimeout(timeout time.Duration)
- func (o *CreateIdentityParams) WithBody(body CreateIdentityBody) *CreateIdentityParams
- func (o *CreateIdentityParams) WithContext(ctx context.Context) *CreateIdentityParams
- func (o *CreateIdentityParams) WithDefaults() *CreateIdentityParams
- func (o *CreateIdentityParams) WithHTTPClient(client *http.Client) *CreateIdentityParams
- func (o *CreateIdentityParams) WithTimeout(timeout time.Duration) *CreateIdentityParams
- func (o *CreateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type CreateIdentityReader
- type CreateIdentityUnauthorized
- func (o *CreateIdentityUnauthorized) Error() string
- func (o *CreateIdentityUnauthorized) IsClientError() bool
- func (o *CreateIdentityUnauthorized) IsCode(code int) bool
- func (o *CreateIdentityUnauthorized) IsRedirect() bool
- func (o *CreateIdentityUnauthorized) IsServerError() bool
- func (o *CreateIdentityUnauthorized) IsSuccess() bool
- func (o *CreateIdentityUnauthorized) String() string
- type DeleteFrontendInternalServerError
- func (o *DeleteFrontendInternalServerError) Error() string
- func (o *DeleteFrontendInternalServerError) IsClientError() bool
- func (o *DeleteFrontendInternalServerError) IsCode(code int) bool
- func (o *DeleteFrontendInternalServerError) IsRedirect() bool
- func (o *DeleteFrontendInternalServerError) IsServerError() bool
- func (o *DeleteFrontendInternalServerError) IsSuccess() bool
- func (o *DeleteFrontendInternalServerError) String() string
- type DeleteFrontendNotFound
- func (o *DeleteFrontendNotFound) Error() string
- func (o *DeleteFrontendNotFound) IsClientError() bool
- func (o *DeleteFrontendNotFound) IsCode(code int) bool
- func (o *DeleteFrontendNotFound) IsRedirect() bool
- func (o *DeleteFrontendNotFound) IsServerError() bool
- func (o *DeleteFrontendNotFound) IsSuccess() bool
- func (o *DeleteFrontendNotFound) String() string
- type DeleteFrontendOK
- func (o *DeleteFrontendOK) Error() string
- func (o *DeleteFrontendOK) IsClientError() bool
- func (o *DeleteFrontendOK) IsCode(code int) bool
- func (o *DeleteFrontendOK) IsRedirect() bool
- func (o *DeleteFrontendOK) IsServerError() bool
- func (o *DeleteFrontendOK) IsSuccess() bool
- func (o *DeleteFrontendOK) String() string
- type DeleteFrontendParams
- func NewDeleteFrontendParams() *DeleteFrontendParams
- func NewDeleteFrontendParamsWithContext(ctx context.Context) *DeleteFrontendParams
- func NewDeleteFrontendParamsWithHTTPClient(client *http.Client) *DeleteFrontendParams
- func NewDeleteFrontendParamsWithTimeout(timeout time.Duration) *DeleteFrontendParams
- func (o *DeleteFrontendParams) SetBody(body *rest_model_zrok.DeleteFrontendRequest)
- func (o *DeleteFrontendParams) SetContext(ctx context.Context)
- func (o *DeleteFrontendParams) SetDefaults()
- func (o *DeleteFrontendParams) SetHTTPClient(client *http.Client)
- func (o *DeleteFrontendParams) SetTimeout(timeout time.Duration)
- func (o *DeleteFrontendParams) WithBody(body *rest_model_zrok.DeleteFrontendRequest) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithContext(ctx context.Context) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithDefaults() *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithHTTPClient(client *http.Client) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WithTimeout(timeout time.Duration) *DeleteFrontendParams
- func (o *DeleteFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type DeleteFrontendReader
- type DeleteFrontendUnauthorized
- func (o *DeleteFrontendUnauthorized) Error() string
- func (o *DeleteFrontendUnauthorized) IsClientError() bool
- func (o *DeleteFrontendUnauthorized) IsCode(code int) bool
- func (o *DeleteFrontendUnauthorized) IsRedirect() bool
- func (o *DeleteFrontendUnauthorized) IsServerError() bool
- func (o *DeleteFrontendUnauthorized) IsSuccess() bool
- func (o *DeleteFrontendUnauthorized) String() string
- type InviteTokenGenerateBadRequest
- func (o *InviteTokenGenerateBadRequest) Error() string
- func (o *InviteTokenGenerateBadRequest) IsClientError() bool
- func (o *InviteTokenGenerateBadRequest) IsCode(code int) bool
- func (o *InviteTokenGenerateBadRequest) IsRedirect() bool
- func (o *InviteTokenGenerateBadRequest) IsServerError() bool
- func (o *InviteTokenGenerateBadRequest) IsSuccess() bool
- func (o *InviteTokenGenerateBadRequest) String() string
- type InviteTokenGenerateCreated
- func (o *InviteTokenGenerateCreated) Error() string
- func (o *InviteTokenGenerateCreated) IsClientError() bool
- func (o *InviteTokenGenerateCreated) IsCode(code int) bool
- func (o *InviteTokenGenerateCreated) IsRedirect() bool
- func (o *InviteTokenGenerateCreated) IsServerError() bool
- func (o *InviteTokenGenerateCreated) IsSuccess() bool
- func (o *InviteTokenGenerateCreated) String() string
- type InviteTokenGenerateInternalServerError
- func (o *InviteTokenGenerateInternalServerError) Error() string
- func (o *InviteTokenGenerateInternalServerError) IsClientError() bool
- func (o *InviteTokenGenerateInternalServerError) IsCode(code int) bool
- func (o *InviteTokenGenerateInternalServerError) IsRedirect() bool
- func (o *InviteTokenGenerateInternalServerError) IsServerError() bool
- func (o *InviteTokenGenerateInternalServerError) IsSuccess() bool
- func (o *InviteTokenGenerateInternalServerError) String() string
- type InviteTokenGenerateParams
- func NewInviteTokenGenerateParams() *InviteTokenGenerateParams
- func NewInviteTokenGenerateParamsWithContext(ctx context.Context) *InviteTokenGenerateParams
- func NewInviteTokenGenerateParamsWithHTTPClient(client *http.Client) *InviteTokenGenerateParams
- func NewInviteTokenGenerateParamsWithTimeout(timeout time.Duration) *InviteTokenGenerateParams
- func (o *InviteTokenGenerateParams) SetBody(body *rest_model_zrok.InviteTokenGenerateRequest)
- func (o *InviteTokenGenerateParams) SetContext(ctx context.Context)
- func (o *InviteTokenGenerateParams) SetDefaults()
- func (o *InviteTokenGenerateParams) SetHTTPClient(client *http.Client)
- func (o *InviteTokenGenerateParams) SetTimeout(timeout time.Duration)
- func (o *InviteTokenGenerateParams) WithBody(body *rest_model_zrok.InviteTokenGenerateRequest) *InviteTokenGenerateParams
- func (o *InviteTokenGenerateParams) WithContext(ctx context.Context) *InviteTokenGenerateParams
- func (o *InviteTokenGenerateParams) WithDefaults() *InviteTokenGenerateParams
- func (o *InviteTokenGenerateParams) WithHTTPClient(client *http.Client) *InviteTokenGenerateParams
- func (o *InviteTokenGenerateParams) WithTimeout(timeout time.Duration) *InviteTokenGenerateParams
- func (o *InviteTokenGenerateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type InviteTokenGenerateReader
- type InviteTokenGenerateUnauthorized
- func (o *InviteTokenGenerateUnauthorized) Error() string
- func (o *InviteTokenGenerateUnauthorized) IsClientError() bool
- func (o *InviteTokenGenerateUnauthorized) IsCode(code int) bool
- func (o *InviteTokenGenerateUnauthorized) IsRedirect() bool
- func (o *InviteTokenGenerateUnauthorized) IsServerError() bool
- func (o *InviteTokenGenerateUnauthorized) IsSuccess() bool
- func (o *InviteTokenGenerateUnauthorized) String() string
- type ListFrontendsInternalServerError
- func (o *ListFrontendsInternalServerError) Error() string
- func (o *ListFrontendsInternalServerError) IsClientError() bool
- func (o *ListFrontendsInternalServerError) IsCode(code int) bool
- func (o *ListFrontendsInternalServerError) IsRedirect() bool
- func (o *ListFrontendsInternalServerError) IsServerError() bool
- func (o *ListFrontendsInternalServerError) IsSuccess() bool
- func (o *ListFrontendsInternalServerError) String() string
- type ListFrontendsOK
- func (o *ListFrontendsOK) Error() string
- func (o *ListFrontendsOK) GetPayload() rest_model_zrok.PublicFrontendList
- func (o *ListFrontendsOK) IsClientError() bool
- func (o *ListFrontendsOK) IsCode(code int) bool
- func (o *ListFrontendsOK) IsRedirect() bool
- func (o *ListFrontendsOK) IsServerError() bool
- func (o *ListFrontendsOK) IsSuccess() bool
- func (o *ListFrontendsOK) String() string
- type ListFrontendsParams
- func (o *ListFrontendsParams) SetContext(ctx context.Context)
- func (o *ListFrontendsParams) SetDefaults()
- func (o *ListFrontendsParams) SetHTTPClient(client *http.Client)
- func (o *ListFrontendsParams) SetTimeout(timeout time.Duration)
- func (o *ListFrontendsParams) WithContext(ctx context.Context) *ListFrontendsParams
- func (o *ListFrontendsParams) WithDefaults() *ListFrontendsParams
- func (o *ListFrontendsParams) WithHTTPClient(client *http.Client) *ListFrontendsParams
- func (o *ListFrontendsParams) WithTimeout(timeout time.Duration) *ListFrontendsParams
- func (o *ListFrontendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type ListFrontendsReader
- type ListFrontendsUnauthorized
- func (o *ListFrontendsUnauthorized) Error() string
- func (o *ListFrontendsUnauthorized) IsClientError() bool
- func (o *ListFrontendsUnauthorized) IsCode(code int) bool
- func (o *ListFrontendsUnauthorized) IsRedirect() bool
- func (o *ListFrontendsUnauthorized) IsServerError() bool
- func (o *ListFrontendsUnauthorized) IsSuccess() bool
- func (o *ListFrontendsUnauthorized) String() string
- type UpdateFrontendInternalServerError
- func (o *UpdateFrontendInternalServerError) Error() string
- func (o *UpdateFrontendInternalServerError) IsClientError() bool
- func (o *UpdateFrontendInternalServerError) IsCode(code int) bool
- func (o *UpdateFrontendInternalServerError) IsRedirect() bool
- func (o *UpdateFrontendInternalServerError) IsServerError() bool
- func (o *UpdateFrontendInternalServerError) IsSuccess() bool
- func (o *UpdateFrontendInternalServerError) String() string
- type UpdateFrontendNotFound
- func (o *UpdateFrontendNotFound) Error() string
- func (o *UpdateFrontendNotFound) IsClientError() bool
- func (o *UpdateFrontendNotFound) IsCode(code int) bool
- func (o *UpdateFrontendNotFound) IsRedirect() bool
- func (o *UpdateFrontendNotFound) IsServerError() bool
- func (o *UpdateFrontendNotFound) IsSuccess() bool
- func (o *UpdateFrontendNotFound) String() string
- type UpdateFrontendOK
- func (o *UpdateFrontendOK) Error() string
- func (o *UpdateFrontendOK) IsClientError() bool
- func (o *UpdateFrontendOK) IsCode(code int) bool
- func (o *UpdateFrontendOK) IsRedirect() bool
- func (o *UpdateFrontendOK) IsServerError() bool
- func (o *UpdateFrontendOK) IsSuccess() bool
- func (o *UpdateFrontendOK) String() string
- type UpdateFrontendParams
- func NewUpdateFrontendParams() *UpdateFrontendParams
- func NewUpdateFrontendParamsWithContext(ctx context.Context) *UpdateFrontendParams
- func NewUpdateFrontendParamsWithHTTPClient(client *http.Client) *UpdateFrontendParams
- func NewUpdateFrontendParamsWithTimeout(timeout time.Duration) *UpdateFrontendParams
- func (o *UpdateFrontendParams) SetBody(body *rest_model_zrok.UpdateFrontendRequest)
- func (o *UpdateFrontendParams) SetContext(ctx context.Context)
- func (o *UpdateFrontendParams) SetDefaults()
- func (o *UpdateFrontendParams) SetHTTPClient(client *http.Client)
- func (o *UpdateFrontendParams) SetTimeout(timeout time.Duration)
- func (o *UpdateFrontendParams) WithBody(body *rest_model_zrok.UpdateFrontendRequest) *UpdateFrontendParams
- func (o *UpdateFrontendParams) WithContext(ctx context.Context) *UpdateFrontendParams
- func (o *UpdateFrontendParams) WithDefaults() *UpdateFrontendParams
- func (o *UpdateFrontendParams) WithHTTPClient(client *http.Client) *UpdateFrontendParams
- func (o *UpdateFrontendParams) WithTimeout(timeout time.Duration) *UpdateFrontendParams
- func (o *UpdateFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type UpdateFrontendReader
- type UpdateFrontendUnauthorized
- func (o *UpdateFrontendUnauthorized) Error() string
- func (o *UpdateFrontendUnauthorized) IsClientError() bool
- func (o *UpdateFrontendUnauthorized) IsCode(code int) bool
- func (o *UpdateFrontendUnauthorized) IsRedirect() bool
- func (o *UpdateFrontendUnauthorized) IsServerError() bool
- func (o *UpdateFrontendUnauthorized) IsSuccess() bool
- func (o *UpdateFrontendUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for admin API
func (*Client) CreateFrontend ¶
func (a *Client) CreateFrontend(params *CreateFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFrontendCreated, error)
CreateFrontend create frontend API
func (*Client) CreateIdentity ¶
func (a *Client) CreateIdentity(params *CreateIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIdentityCreated, error)
CreateIdentity create identity API
func (*Client) DeleteFrontend ¶
func (a *Client) DeleteFrontend(params *DeleteFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFrontendOK, error)
DeleteFrontend delete frontend API
func (*Client) InviteTokenGenerate ¶
func (a *Client) InviteTokenGenerate(params *InviteTokenGenerateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InviteTokenGenerateCreated, error)
InviteTokenGenerate invite token generate API
func (*Client) ListFrontends ¶
func (a *Client) ListFrontends(params *ListFrontendsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFrontendsOK, error)
ListFrontends list frontends API
func (*Client) SetTransport ¶
func (a *Client) SetTransport(transport runtime.ClientTransport)
SetTransport changes the transport on the client
func (*Client) UpdateFrontend ¶
func (a *Client) UpdateFrontend(params *UpdateFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFrontendOK, error)
UpdateFrontend update frontend API
type ClientOption ¶
type ClientOption func(*runtime.ClientOperation)
ClientOption is the option for Client methods
type ClientService ¶
type ClientService interface { CreateFrontend(params *CreateFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateFrontendCreated, error) CreateIdentity(params *CreateIdentityParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateIdentityCreated, error) DeleteFrontend(params *DeleteFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*DeleteFrontendOK, error) InviteTokenGenerate(params *InviteTokenGenerateParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*InviteTokenGenerateCreated, error) ListFrontends(params *ListFrontendsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListFrontendsOK, error) UpdateFrontend(params *UpdateFrontendParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*UpdateFrontendOK, error) SetTransport(transport runtime.ClientTransport) }
ClientService is the interface for Client methods
func New ¶
func New(transport runtime.ClientTransport, formats strfmt.Registry) ClientService
New creates a new admin API client.
type CreateFrontendBadRequest ¶
type CreateFrontendBadRequest struct { }
CreateFrontendBadRequest describes a response with status code 400, with default header values.
bad request
func NewCreateFrontendBadRequest ¶
func NewCreateFrontendBadRequest() *CreateFrontendBadRequest
NewCreateFrontendBadRequest creates a CreateFrontendBadRequest with default headers values
func (*CreateFrontendBadRequest) Error ¶
func (o *CreateFrontendBadRequest) Error() string
func (*CreateFrontendBadRequest) IsClientError ¶
func (o *CreateFrontendBadRequest) IsClientError() bool
IsClientError returns true when this create frontend bad request response has a 4xx status code
func (*CreateFrontendBadRequest) IsCode ¶
func (o *CreateFrontendBadRequest) IsCode(code int) bool
IsCode returns true when this create frontend bad request response a status code equal to that given
func (*CreateFrontendBadRequest) IsRedirect ¶
func (o *CreateFrontendBadRequest) IsRedirect() bool
IsRedirect returns true when this create frontend bad request response has a 3xx status code
func (*CreateFrontendBadRequest) IsServerError ¶
func (o *CreateFrontendBadRequest) IsServerError() bool
IsServerError returns true when this create frontend bad request response has a 5xx status code
func (*CreateFrontendBadRequest) IsSuccess ¶
func (o *CreateFrontendBadRequest) IsSuccess() bool
IsSuccess returns true when this create frontend bad request response has a 2xx status code
func (*CreateFrontendBadRequest) String ¶
func (o *CreateFrontendBadRequest) String() string
type CreateFrontendCreated ¶
type CreateFrontendCreated struct {
Payload *rest_model_zrok.CreateFrontendResponse
}
CreateFrontendCreated describes a response with status code 201, with default header values.
frontend created
func NewCreateFrontendCreated ¶
func NewCreateFrontendCreated() *CreateFrontendCreated
NewCreateFrontendCreated creates a CreateFrontendCreated with default headers values
func (*CreateFrontendCreated) Error ¶
func (o *CreateFrontendCreated) Error() string
func (*CreateFrontendCreated) GetPayload ¶
func (o *CreateFrontendCreated) GetPayload() *rest_model_zrok.CreateFrontendResponse
func (*CreateFrontendCreated) IsClientError ¶
func (o *CreateFrontendCreated) IsClientError() bool
IsClientError returns true when this create frontend created response has a 4xx status code
func (*CreateFrontendCreated) IsCode ¶
func (o *CreateFrontendCreated) IsCode(code int) bool
IsCode returns true when this create frontend created response a status code equal to that given
func (*CreateFrontendCreated) IsRedirect ¶
func (o *CreateFrontendCreated) IsRedirect() bool
IsRedirect returns true when this create frontend created response has a 3xx status code
func (*CreateFrontendCreated) IsServerError ¶
func (o *CreateFrontendCreated) IsServerError() bool
IsServerError returns true when this create frontend created response has a 5xx status code
func (*CreateFrontendCreated) IsSuccess ¶
func (o *CreateFrontendCreated) IsSuccess() bool
IsSuccess returns true when this create frontend created response has a 2xx status code
func (*CreateFrontendCreated) String ¶
func (o *CreateFrontendCreated) String() string
type CreateFrontendInternalServerError ¶
type CreateFrontendInternalServerError struct { }
CreateFrontendInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewCreateFrontendInternalServerError ¶
func NewCreateFrontendInternalServerError() *CreateFrontendInternalServerError
NewCreateFrontendInternalServerError creates a CreateFrontendInternalServerError with default headers values
func (*CreateFrontendInternalServerError) Error ¶
func (o *CreateFrontendInternalServerError) Error() string
func (*CreateFrontendInternalServerError) IsClientError ¶
func (o *CreateFrontendInternalServerError) IsClientError() bool
IsClientError returns true when this create frontend internal server error response has a 4xx status code
func (*CreateFrontendInternalServerError) IsCode ¶
func (o *CreateFrontendInternalServerError) IsCode(code int) bool
IsCode returns true when this create frontend internal server error response a status code equal to that given
func (*CreateFrontendInternalServerError) IsRedirect ¶
func (o *CreateFrontendInternalServerError) IsRedirect() bool
IsRedirect returns true when this create frontend internal server error response has a 3xx status code
func (*CreateFrontendInternalServerError) IsServerError ¶
func (o *CreateFrontendInternalServerError) IsServerError() bool
IsServerError returns true when this create frontend internal server error response has a 5xx status code
func (*CreateFrontendInternalServerError) IsSuccess ¶
func (o *CreateFrontendInternalServerError) IsSuccess() bool
IsSuccess returns true when this create frontend internal server error response has a 2xx status code
func (*CreateFrontendInternalServerError) String ¶
func (o *CreateFrontendInternalServerError) String() string
type CreateFrontendNotFound ¶
type CreateFrontendNotFound struct { }
CreateFrontendNotFound describes a response with status code 404, with default header values.
not found
func NewCreateFrontendNotFound ¶
func NewCreateFrontendNotFound() *CreateFrontendNotFound
NewCreateFrontendNotFound creates a CreateFrontendNotFound with default headers values
func (*CreateFrontendNotFound) Error ¶
func (o *CreateFrontendNotFound) Error() string
func (*CreateFrontendNotFound) IsClientError ¶
func (o *CreateFrontendNotFound) IsClientError() bool
IsClientError returns true when this create frontend not found response has a 4xx status code
func (*CreateFrontendNotFound) IsCode ¶
func (o *CreateFrontendNotFound) IsCode(code int) bool
IsCode returns true when this create frontend not found response a status code equal to that given
func (*CreateFrontendNotFound) IsRedirect ¶
func (o *CreateFrontendNotFound) IsRedirect() bool
IsRedirect returns true when this create frontend not found response has a 3xx status code
func (*CreateFrontendNotFound) IsServerError ¶
func (o *CreateFrontendNotFound) IsServerError() bool
IsServerError returns true when this create frontend not found response has a 5xx status code
func (*CreateFrontendNotFound) IsSuccess ¶
func (o *CreateFrontendNotFound) IsSuccess() bool
IsSuccess returns true when this create frontend not found response has a 2xx status code
func (*CreateFrontendNotFound) String ¶
func (o *CreateFrontendNotFound) String() string
type CreateFrontendParams ¶
type CreateFrontendParams struct { // Body. Body *rest_model_zrok.CreateFrontendRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateFrontendParams contains all the parameters to send to the API endpoint
for the create frontend operation. Typically these are written to a http.Request.
func NewCreateFrontendParams ¶
func NewCreateFrontendParams() *CreateFrontendParams
NewCreateFrontendParams creates a new CreateFrontendParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateFrontendParamsWithContext ¶
func NewCreateFrontendParamsWithContext(ctx context.Context) *CreateFrontendParams
NewCreateFrontendParamsWithContext creates a new CreateFrontendParams object with the ability to set a context for a request.
func NewCreateFrontendParamsWithHTTPClient ¶
func NewCreateFrontendParamsWithHTTPClient(client *http.Client) *CreateFrontendParams
NewCreateFrontendParamsWithHTTPClient creates a new CreateFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewCreateFrontendParamsWithTimeout ¶
func NewCreateFrontendParamsWithTimeout(timeout time.Duration) *CreateFrontendParams
NewCreateFrontendParamsWithTimeout creates a new CreateFrontendParams object with the ability to set a timeout on a request.
func (*CreateFrontendParams) SetBody ¶
func (o *CreateFrontendParams) SetBody(body *rest_model_zrok.CreateFrontendRequest)
SetBody adds the body to the create frontend params
func (*CreateFrontendParams) SetContext ¶
func (o *CreateFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the create frontend params
func (*CreateFrontendParams) SetDefaults ¶
func (o *CreateFrontendParams) SetDefaults()
SetDefaults hydrates default values in the create frontend params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFrontendParams) SetHTTPClient ¶
func (o *CreateFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create frontend params
func (*CreateFrontendParams) SetTimeout ¶
func (o *CreateFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create frontend params
func (*CreateFrontendParams) WithBody ¶
func (o *CreateFrontendParams) WithBody(body *rest_model_zrok.CreateFrontendRequest) *CreateFrontendParams
WithBody adds the body to the create frontend params
func (*CreateFrontendParams) WithContext ¶
func (o *CreateFrontendParams) WithContext(ctx context.Context) *CreateFrontendParams
WithContext adds the context to the create frontend params
func (*CreateFrontendParams) WithDefaults ¶
func (o *CreateFrontendParams) WithDefaults() *CreateFrontendParams
WithDefaults hydrates default values in the create frontend params (not the query body).
All values with no default are reset to their zero value.
func (*CreateFrontendParams) WithHTTPClient ¶
func (o *CreateFrontendParams) WithHTTPClient(client *http.Client) *CreateFrontendParams
WithHTTPClient adds the HTTPClient to the create frontend params
func (*CreateFrontendParams) WithTimeout ¶
func (o *CreateFrontendParams) WithTimeout(timeout time.Duration) *CreateFrontendParams
WithTimeout adds the timeout to the create frontend params
func (*CreateFrontendParams) WriteToRequest ¶
func (o *CreateFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateFrontendReader ¶
type CreateFrontendReader struct {
// contains filtered or unexported fields
}
CreateFrontendReader is a Reader for the CreateFrontend structure.
func (*CreateFrontendReader) ReadResponse ¶
func (o *CreateFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateFrontendUnauthorized ¶
type CreateFrontendUnauthorized struct { }
CreateFrontendUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewCreateFrontendUnauthorized ¶
func NewCreateFrontendUnauthorized() *CreateFrontendUnauthorized
NewCreateFrontendUnauthorized creates a CreateFrontendUnauthorized with default headers values
func (*CreateFrontendUnauthorized) Error ¶
func (o *CreateFrontendUnauthorized) Error() string
func (*CreateFrontendUnauthorized) IsClientError ¶
func (o *CreateFrontendUnauthorized) IsClientError() bool
IsClientError returns true when this create frontend unauthorized response has a 4xx status code
func (*CreateFrontendUnauthorized) IsCode ¶
func (o *CreateFrontendUnauthorized) IsCode(code int) bool
IsCode returns true when this create frontend unauthorized response a status code equal to that given
func (*CreateFrontendUnauthorized) IsRedirect ¶
func (o *CreateFrontendUnauthorized) IsRedirect() bool
IsRedirect returns true when this create frontend unauthorized response has a 3xx status code
func (*CreateFrontendUnauthorized) IsServerError ¶
func (o *CreateFrontendUnauthorized) IsServerError() bool
IsServerError returns true when this create frontend unauthorized response has a 5xx status code
func (*CreateFrontendUnauthorized) IsSuccess ¶
func (o *CreateFrontendUnauthorized) IsSuccess() bool
IsSuccess returns true when this create frontend unauthorized response has a 2xx status code
func (*CreateFrontendUnauthorized) String ¶
func (o *CreateFrontendUnauthorized) String() string
type CreateIdentityBody ¶
type CreateIdentityBody struct { // name Name string `json:"name,omitempty"` }
CreateIdentityBody create identity body swagger:model CreateIdentityBody
func (*CreateIdentityBody) ContextValidate ¶
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
type CreateIdentityCreated ¶
type CreateIdentityCreated struct {
Payload *CreateIdentityCreatedBody
}
CreateIdentityCreated describes a response with status code 201, with default header values.
created
func NewCreateIdentityCreated ¶
func NewCreateIdentityCreated() *CreateIdentityCreated
NewCreateIdentityCreated creates a CreateIdentityCreated with default headers values
func (*CreateIdentityCreated) Error ¶
func (o *CreateIdentityCreated) Error() string
func (*CreateIdentityCreated) GetPayload ¶
func (o *CreateIdentityCreated) GetPayload() *CreateIdentityCreatedBody
func (*CreateIdentityCreated) IsClientError ¶
func (o *CreateIdentityCreated) IsClientError() bool
IsClientError returns true when this create identity created response has a 4xx status code
func (*CreateIdentityCreated) IsCode ¶
func (o *CreateIdentityCreated) IsCode(code int) bool
IsCode returns true when this create identity created response a status code equal to that given
func (*CreateIdentityCreated) IsRedirect ¶
func (o *CreateIdentityCreated) IsRedirect() bool
IsRedirect returns true when this create identity created response has a 3xx status code
func (*CreateIdentityCreated) IsServerError ¶
func (o *CreateIdentityCreated) IsServerError() bool
IsServerError returns true when this create identity created response has a 5xx status code
func (*CreateIdentityCreated) IsSuccess ¶
func (o *CreateIdentityCreated) IsSuccess() bool
IsSuccess returns true when this create identity created response has a 2xx status code
func (*CreateIdentityCreated) String ¶
func (o *CreateIdentityCreated) String() string
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
type CreateIdentityInternalServerError ¶
type CreateIdentityInternalServerError struct { }
CreateIdentityInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewCreateIdentityInternalServerError ¶
func NewCreateIdentityInternalServerError() *CreateIdentityInternalServerError
NewCreateIdentityInternalServerError creates a CreateIdentityInternalServerError with default headers values
func (*CreateIdentityInternalServerError) Error ¶
func (o *CreateIdentityInternalServerError) Error() string
func (*CreateIdentityInternalServerError) IsClientError ¶
func (o *CreateIdentityInternalServerError) IsClientError() bool
IsClientError returns true when this create identity internal server error response has a 4xx status code
func (*CreateIdentityInternalServerError) IsCode ¶
func (o *CreateIdentityInternalServerError) IsCode(code int) bool
IsCode returns true when this create identity internal server error response a status code equal to that given
func (*CreateIdentityInternalServerError) IsRedirect ¶
func (o *CreateIdentityInternalServerError) IsRedirect() bool
IsRedirect returns true when this create identity internal server error response has a 3xx status code
func (*CreateIdentityInternalServerError) IsServerError ¶
func (o *CreateIdentityInternalServerError) IsServerError() bool
IsServerError returns true when this create identity internal server error response has a 5xx status code
func (*CreateIdentityInternalServerError) IsSuccess ¶
func (o *CreateIdentityInternalServerError) IsSuccess() bool
IsSuccess returns true when this create identity internal server error response has a 2xx status code
func (*CreateIdentityInternalServerError) String ¶
func (o *CreateIdentityInternalServerError) String() string
type CreateIdentityParams ¶
type CreateIdentityParams struct { // Body. Body CreateIdentityBody Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
CreateIdentityParams contains all the parameters to send to the API endpoint
for the create identity operation. Typically these are written to a http.Request.
func NewCreateIdentityParams ¶
func NewCreateIdentityParams() *CreateIdentityParams
NewCreateIdentityParams creates a new CreateIdentityParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewCreateIdentityParamsWithContext ¶
func NewCreateIdentityParamsWithContext(ctx context.Context) *CreateIdentityParams
NewCreateIdentityParamsWithContext creates a new CreateIdentityParams object with the ability to set a context for a request.
func NewCreateIdentityParamsWithHTTPClient ¶
func NewCreateIdentityParamsWithHTTPClient(client *http.Client) *CreateIdentityParams
NewCreateIdentityParamsWithHTTPClient creates a new CreateIdentityParams object with the ability to set a custom HTTPClient for a request.
func NewCreateIdentityParamsWithTimeout ¶
func NewCreateIdentityParamsWithTimeout(timeout time.Duration) *CreateIdentityParams
NewCreateIdentityParamsWithTimeout creates a new CreateIdentityParams object with the ability to set a timeout on a request.
func (*CreateIdentityParams) SetBody ¶
func (o *CreateIdentityParams) SetBody(body CreateIdentityBody)
SetBody adds the body to the create identity params
func (*CreateIdentityParams) SetContext ¶
func (o *CreateIdentityParams) SetContext(ctx context.Context)
SetContext adds the context to the create identity params
func (*CreateIdentityParams) SetDefaults ¶
func (o *CreateIdentityParams) SetDefaults()
SetDefaults hydrates default values in the create identity params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIdentityParams) SetHTTPClient ¶
func (o *CreateIdentityParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the create identity params
func (*CreateIdentityParams) SetTimeout ¶
func (o *CreateIdentityParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the create identity params
func (*CreateIdentityParams) WithBody ¶
func (o *CreateIdentityParams) WithBody(body CreateIdentityBody) *CreateIdentityParams
WithBody adds the body to the create identity params
func (*CreateIdentityParams) WithContext ¶
func (o *CreateIdentityParams) WithContext(ctx context.Context) *CreateIdentityParams
WithContext adds the context to the create identity params
func (*CreateIdentityParams) WithDefaults ¶
func (o *CreateIdentityParams) WithDefaults() *CreateIdentityParams
WithDefaults hydrates default values in the create identity params (not the query body).
All values with no default are reset to their zero value.
func (*CreateIdentityParams) WithHTTPClient ¶
func (o *CreateIdentityParams) WithHTTPClient(client *http.Client) *CreateIdentityParams
WithHTTPClient adds the HTTPClient to the create identity params
func (*CreateIdentityParams) WithTimeout ¶
func (o *CreateIdentityParams) WithTimeout(timeout time.Duration) *CreateIdentityParams
WithTimeout adds the timeout to the create identity params
func (*CreateIdentityParams) WriteToRequest ¶
func (o *CreateIdentityParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type CreateIdentityReader ¶
type CreateIdentityReader struct {
// contains filtered or unexported fields
}
CreateIdentityReader is a Reader for the CreateIdentity structure.
func (*CreateIdentityReader) ReadResponse ¶
func (o *CreateIdentityReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type CreateIdentityUnauthorized ¶
type CreateIdentityUnauthorized struct { }
CreateIdentityUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewCreateIdentityUnauthorized ¶
func NewCreateIdentityUnauthorized() *CreateIdentityUnauthorized
NewCreateIdentityUnauthorized creates a CreateIdentityUnauthorized with default headers values
func (*CreateIdentityUnauthorized) Error ¶
func (o *CreateIdentityUnauthorized) Error() string
func (*CreateIdentityUnauthorized) IsClientError ¶
func (o *CreateIdentityUnauthorized) IsClientError() bool
IsClientError returns true when this create identity unauthorized response has a 4xx status code
func (*CreateIdentityUnauthorized) IsCode ¶
func (o *CreateIdentityUnauthorized) IsCode(code int) bool
IsCode returns true when this create identity unauthorized response a status code equal to that given
func (*CreateIdentityUnauthorized) IsRedirect ¶
func (o *CreateIdentityUnauthorized) IsRedirect() bool
IsRedirect returns true when this create identity unauthorized response has a 3xx status code
func (*CreateIdentityUnauthorized) IsServerError ¶
func (o *CreateIdentityUnauthorized) IsServerError() bool
IsServerError returns true when this create identity unauthorized response has a 5xx status code
func (*CreateIdentityUnauthorized) IsSuccess ¶
func (o *CreateIdentityUnauthorized) IsSuccess() bool
IsSuccess returns true when this create identity unauthorized response has a 2xx status code
func (*CreateIdentityUnauthorized) String ¶
func (o *CreateIdentityUnauthorized) String() string
type DeleteFrontendInternalServerError ¶
type DeleteFrontendInternalServerError struct { }
DeleteFrontendInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewDeleteFrontendInternalServerError ¶
func NewDeleteFrontendInternalServerError() *DeleteFrontendInternalServerError
NewDeleteFrontendInternalServerError creates a DeleteFrontendInternalServerError with default headers values
func (*DeleteFrontendInternalServerError) Error ¶
func (o *DeleteFrontendInternalServerError) Error() string
func (*DeleteFrontendInternalServerError) IsClientError ¶
func (o *DeleteFrontendInternalServerError) IsClientError() bool
IsClientError returns true when this delete frontend internal server error response has a 4xx status code
func (*DeleteFrontendInternalServerError) IsCode ¶
func (o *DeleteFrontendInternalServerError) IsCode(code int) bool
IsCode returns true when this delete frontend internal server error response a status code equal to that given
func (*DeleteFrontendInternalServerError) IsRedirect ¶
func (o *DeleteFrontendInternalServerError) IsRedirect() bool
IsRedirect returns true when this delete frontend internal server error response has a 3xx status code
func (*DeleteFrontendInternalServerError) IsServerError ¶
func (o *DeleteFrontendInternalServerError) IsServerError() bool
IsServerError returns true when this delete frontend internal server error response has a 5xx status code
func (*DeleteFrontendInternalServerError) IsSuccess ¶
func (o *DeleteFrontendInternalServerError) IsSuccess() bool
IsSuccess returns true when this delete frontend internal server error response has a 2xx status code
func (*DeleteFrontendInternalServerError) String ¶
func (o *DeleteFrontendInternalServerError) String() string
type DeleteFrontendNotFound ¶
type DeleteFrontendNotFound struct { }
DeleteFrontendNotFound describes a response with status code 404, with default header values.
not found
func NewDeleteFrontendNotFound ¶
func NewDeleteFrontendNotFound() *DeleteFrontendNotFound
NewDeleteFrontendNotFound creates a DeleteFrontendNotFound with default headers values
func (*DeleteFrontendNotFound) Error ¶
func (o *DeleteFrontendNotFound) Error() string
func (*DeleteFrontendNotFound) IsClientError ¶
func (o *DeleteFrontendNotFound) IsClientError() bool
IsClientError returns true when this delete frontend not found response has a 4xx status code
func (*DeleteFrontendNotFound) IsCode ¶
func (o *DeleteFrontendNotFound) IsCode(code int) bool
IsCode returns true when this delete frontend not found response a status code equal to that given
func (*DeleteFrontendNotFound) IsRedirect ¶
func (o *DeleteFrontendNotFound) IsRedirect() bool
IsRedirect returns true when this delete frontend not found response has a 3xx status code
func (*DeleteFrontendNotFound) IsServerError ¶
func (o *DeleteFrontendNotFound) IsServerError() bool
IsServerError returns true when this delete frontend not found response has a 5xx status code
func (*DeleteFrontendNotFound) IsSuccess ¶
func (o *DeleteFrontendNotFound) IsSuccess() bool
IsSuccess returns true when this delete frontend not found response has a 2xx status code
func (*DeleteFrontendNotFound) String ¶
func (o *DeleteFrontendNotFound) String() string
type DeleteFrontendOK ¶
type DeleteFrontendOK struct { }
DeleteFrontendOK describes a response with status code 200, with default header values.
frontend deleted
func NewDeleteFrontendOK ¶
func NewDeleteFrontendOK() *DeleteFrontendOK
NewDeleteFrontendOK creates a DeleteFrontendOK with default headers values
func (*DeleteFrontendOK) Error ¶
func (o *DeleteFrontendOK) Error() string
func (*DeleteFrontendOK) IsClientError ¶
func (o *DeleteFrontendOK) IsClientError() bool
IsClientError returns true when this delete frontend o k response has a 4xx status code
func (*DeleteFrontendOK) IsCode ¶
func (o *DeleteFrontendOK) IsCode(code int) bool
IsCode returns true when this delete frontend o k response a status code equal to that given
func (*DeleteFrontendOK) IsRedirect ¶
func (o *DeleteFrontendOK) IsRedirect() bool
IsRedirect returns true when this delete frontend o k response has a 3xx status code
func (*DeleteFrontendOK) IsServerError ¶
func (o *DeleteFrontendOK) IsServerError() bool
IsServerError returns true when this delete frontend o k response has a 5xx status code
func (*DeleteFrontendOK) IsSuccess ¶
func (o *DeleteFrontendOK) IsSuccess() bool
IsSuccess returns true when this delete frontend o k response has a 2xx status code
func (*DeleteFrontendOK) String ¶
func (o *DeleteFrontendOK) String() string
type DeleteFrontendParams ¶
type DeleteFrontendParams struct { // Body. Body *rest_model_zrok.DeleteFrontendRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
DeleteFrontendParams contains all the parameters to send to the API endpoint
for the delete frontend operation. Typically these are written to a http.Request.
func NewDeleteFrontendParams ¶
func NewDeleteFrontendParams() *DeleteFrontendParams
NewDeleteFrontendParams creates a new DeleteFrontendParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewDeleteFrontendParamsWithContext ¶
func NewDeleteFrontendParamsWithContext(ctx context.Context) *DeleteFrontendParams
NewDeleteFrontendParamsWithContext creates a new DeleteFrontendParams object with the ability to set a context for a request.
func NewDeleteFrontendParamsWithHTTPClient ¶
func NewDeleteFrontendParamsWithHTTPClient(client *http.Client) *DeleteFrontendParams
NewDeleteFrontendParamsWithHTTPClient creates a new DeleteFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewDeleteFrontendParamsWithTimeout ¶
func NewDeleteFrontendParamsWithTimeout(timeout time.Duration) *DeleteFrontendParams
NewDeleteFrontendParamsWithTimeout creates a new DeleteFrontendParams object with the ability to set a timeout on a request.
func (*DeleteFrontendParams) SetBody ¶
func (o *DeleteFrontendParams) SetBody(body *rest_model_zrok.DeleteFrontendRequest)
SetBody adds the body to the delete frontend params
func (*DeleteFrontendParams) SetContext ¶
func (o *DeleteFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the delete frontend params
func (*DeleteFrontendParams) SetDefaults ¶
func (o *DeleteFrontendParams) SetDefaults()
SetDefaults hydrates default values in the delete frontend params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFrontendParams) SetHTTPClient ¶
func (o *DeleteFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the delete frontend params
func (*DeleteFrontendParams) SetTimeout ¶
func (o *DeleteFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the delete frontend params
func (*DeleteFrontendParams) WithBody ¶
func (o *DeleteFrontendParams) WithBody(body *rest_model_zrok.DeleteFrontendRequest) *DeleteFrontendParams
WithBody adds the body to the delete frontend params
func (*DeleteFrontendParams) WithContext ¶
func (o *DeleteFrontendParams) WithContext(ctx context.Context) *DeleteFrontendParams
WithContext adds the context to the delete frontend params
func (*DeleteFrontendParams) WithDefaults ¶
func (o *DeleteFrontendParams) WithDefaults() *DeleteFrontendParams
WithDefaults hydrates default values in the delete frontend params (not the query body).
All values with no default are reset to their zero value.
func (*DeleteFrontendParams) WithHTTPClient ¶
func (o *DeleteFrontendParams) WithHTTPClient(client *http.Client) *DeleteFrontendParams
WithHTTPClient adds the HTTPClient to the delete frontend params
func (*DeleteFrontendParams) WithTimeout ¶
func (o *DeleteFrontendParams) WithTimeout(timeout time.Duration) *DeleteFrontendParams
WithTimeout adds the timeout to the delete frontend params
func (*DeleteFrontendParams) WriteToRequest ¶
func (o *DeleteFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type DeleteFrontendReader ¶
type DeleteFrontendReader struct {
// contains filtered or unexported fields
}
DeleteFrontendReader is a Reader for the DeleteFrontend structure.
func (*DeleteFrontendReader) ReadResponse ¶
func (o *DeleteFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type DeleteFrontendUnauthorized ¶
type DeleteFrontendUnauthorized struct { }
DeleteFrontendUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewDeleteFrontendUnauthorized ¶
func NewDeleteFrontendUnauthorized() *DeleteFrontendUnauthorized
NewDeleteFrontendUnauthorized creates a DeleteFrontendUnauthorized with default headers values
func (*DeleteFrontendUnauthorized) Error ¶
func (o *DeleteFrontendUnauthorized) Error() string
func (*DeleteFrontendUnauthorized) IsClientError ¶
func (o *DeleteFrontendUnauthorized) IsClientError() bool
IsClientError returns true when this delete frontend unauthorized response has a 4xx status code
func (*DeleteFrontendUnauthorized) IsCode ¶
func (o *DeleteFrontendUnauthorized) IsCode(code int) bool
IsCode returns true when this delete frontend unauthorized response a status code equal to that given
func (*DeleteFrontendUnauthorized) IsRedirect ¶
func (o *DeleteFrontendUnauthorized) IsRedirect() bool
IsRedirect returns true when this delete frontend unauthorized response has a 3xx status code
func (*DeleteFrontendUnauthorized) IsServerError ¶
func (o *DeleteFrontendUnauthorized) IsServerError() bool
IsServerError returns true when this delete frontend unauthorized response has a 5xx status code
func (*DeleteFrontendUnauthorized) IsSuccess ¶
func (o *DeleteFrontendUnauthorized) IsSuccess() bool
IsSuccess returns true when this delete frontend unauthorized response has a 2xx status code
func (*DeleteFrontendUnauthorized) String ¶
func (o *DeleteFrontendUnauthorized) String() string
type InviteTokenGenerateBadRequest ¶
type InviteTokenGenerateBadRequest struct { }
InviteTokenGenerateBadRequest describes a response with status code 400, with default header values.
invitation tokens not created
func NewInviteTokenGenerateBadRequest ¶
func NewInviteTokenGenerateBadRequest() *InviteTokenGenerateBadRequest
NewInviteTokenGenerateBadRequest creates a InviteTokenGenerateBadRequest with default headers values
func (*InviteTokenGenerateBadRequest) Error ¶
func (o *InviteTokenGenerateBadRequest) Error() string
func (*InviteTokenGenerateBadRequest) IsClientError ¶
func (o *InviteTokenGenerateBadRequest) IsClientError() bool
IsClientError returns true when this invite token generate bad request response has a 4xx status code
func (*InviteTokenGenerateBadRequest) IsCode ¶
func (o *InviteTokenGenerateBadRequest) IsCode(code int) bool
IsCode returns true when this invite token generate bad request response a status code equal to that given
func (*InviteTokenGenerateBadRequest) IsRedirect ¶
func (o *InviteTokenGenerateBadRequest) IsRedirect() bool
IsRedirect returns true when this invite token generate bad request response has a 3xx status code
func (*InviteTokenGenerateBadRequest) IsServerError ¶
func (o *InviteTokenGenerateBadRequest) IsServerError() bool
IsServerError returns true when this invite token generate bad request response has a 5xx status code
func (*InviteTokenGenerateBadRequest) IsSuccess ¶
func (o *InviteTokenGenerateBadRequest) IsSuccess() bool
IsSuccess returns true when this invite token generate bad request response has a 2xx status code
func (*InviteTokenGenerateBadRequest) String ¶
func (o *InviteTokenGenerateBadRequest) String() string
type InviteTokenGenerateCreated ¶
type InviteTokenGenerateCreated struct { }
InviteTokenGenerateCreated describes a response with status code 201, with default header values.
invitation tokens created
func NewInviteTokenGenerateCreated ¶
func NewInviteTokenGenerateCreated() *InviteTokenGenerateCreated
NewInviteTokenGenerateCreated creates a InviteTokenGenerateCreated with default headers values
func (*InviteTokenGenerateCreated) Error ¶
func (o *InviteTokenGenerateCreated) Error() string
func (*InviteTokenGenerateCreated) IsClientError ¶
func (o *InviteTokenGenerateCreated) IsClientError() bool
IsClientError returns true when this invite token generate created response has a 4xx status code
func (*InviteTokenGenerateCreated) IsCode ¶
func (o *InviteTokenGenerateCreated) IsCode(code int) bool
IsCode returns true when this invite token generate created response a status code equal to that given
func (*InviteTokenGenerateCreated) IsRedirect ¶
func (o *InviteTokenGenerateCreated) IsRedirect() bool
IsRedirect returns true when this invite token generate created response has a 3xx status code
func (*InviteTokenGenerateCreated) IsServerError ¶
func (o *InviteTokenGenerateCreated) IsServerError() bool
IsServerError returns true when this invite token generate created response has a 5xx status code
func (*InviteTokenGenerateCreated) IsSuccess ¶
func (o *InviteTokenGenerateCreated) IsSuccess() bool
IsSuccess returns true when this invite token generate created response has a 2xx status code
func (*InviteTokenGenerateCreated) String ¶
func (o *InviteTokenGenerateCreated) String() string
type InviteTokenGenerateInternalServerError ¶
type InviteTokenGenerateInternalServerError struct { }
InviteTokenGenerateInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewInviteTokenGenerateInternalServerError ¶
func NewInviteTokenGenerateInternalServerError() *InviteTokenGenerateInternalServerError
NewInviteTokenGenerateInternalServerError creates a InviteTokenGenerateInternalServerError with default headers values
func (*InviteTokenGenerateInternalServerError) Error ¶
func (o *InviteTokenGenerateInternalServerError) Error() string
func (*InviteTokenGenerateInternalServerError) IsClientError ¶
func (o *InviteTokenGenerateInternalServerError) IsClientError() bool
IsClientError returns true when this invite token generate internal server error response has a 4xx status code
func (*InviteTokenGenerateInternalServerError) IsCode ¶
func (o *InviteTokenGenerateInternalServerError) IsCode(code int) bool
IsCode returns true when this invite token generate internal server error response a status code equal to that given
func (*InviteTokenGenerateInternalServerError) IsRedirect ¶
func (o *InviteTokenGenerateInternalServerError) IsRedirect() bool
IsRedirect returns true when this invite token generate internal server error response has a 3xx status code
func (*InviteTokenGenerateInternalServerError) IsServerError ¶
func (o *InviteTokenGenerateInternalServerError) IsServerError() bool
IsServerError returns true when this invite token generate internal server error response has a 5xx status code
func (*InviteTokenGenerateInternalServerError) IsSuccess ¶
func (o *InviteTokenGenerateInternalServerError) IsSuccess() bool
IsSuccess returns true when this invite token generate internal server error response has a 2xx status code
func (*InviteTokenGenerateInternalServerError) String ¶
func (o *InviteTokenGenerateInternalServerError) String() string
type InviteTokenGenerateParams ¶
type InviteTokenGenerateParams struct { // Body. Body *rest_model_zrok.InviteTokenGenerateRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
InviteTokenGenerateParams contains all the parameters to send to the API endpoint
for the invite token generate operation. Typically these are written to a http.Request.
func NewInviteTokenGenerateParams ¶
func NewInviteTokenGenerateParams() *InviteTokenGenerateParams
NewInviteTokenGenerateParams creates a new InviteTokenGenerateParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewInviteTokenGenerateParamsWithContext ¶
func NewInviteTokenGenerateParamsWithContext(ctx context.Context) *InviteTokenGenerateParams
NewInviteTokenGenerateParamsWithContext creates a new InviteTokenGenerateParams object with the ability to set a context for a request.
func NewInviteTokenGenerateParamsWithHTTPClient ¶
func NewInviteTokenGenerateParamsWithHTTPClient(client *http.Client) *InviteTokenGenerateParams
NewInviteTokenGenerateParamsWithHTTPClient creates a new InviteTokenGenerateParams object with the ability to set a custom HTTPClient for a request.
func NewInviteTokenGenerateParamsWithTimeout ¶
func NewInviteTokenGenerateParamsWithTimeout(timeout time.Duration) *InviteTokenGenerateParams
NewInviteTokenGenerateParamsWithTimeout creates a new InviteTokenGenerateParams object with the ability to set a timeout on a request.
func (*InviteTokenGenerateParams) SetBody ¶
func (o *InviteTokenGenerateParams) SetBody(body *rest_model_zrok.InviteTokenGenerateRequest)
SetBody adds the body to the invite token generate params
func (*InviteTokenGenerateParams) SetContext ¶
func (o *InviteTokenGenerateParams) SetContext(ctx context.Context)
SetContext adds the context to the invite token generate params
func (*InviteTokenGenerateParams) SetDefaults ¶
func (o *InviteTokenGenerateParams) SetDefaults()
SetDefaults hydrates default values in the invite token generate params (not the query body).
All values with no default are reset to their zero value.
func (*InviteTokenGenerateParams) SetHTTPClient ¶
func (o *InviteTokenGenerateParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the invite token generate params
func (*InviteTokenGenerateParams) SetTimeout ¶
func (o *InviteTokenGenerateParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the invite token generate params
func (*InviteTokenGenerateParams) WithBody ¶
func (o *InviteTokenGenerateParams) WithBody(body *rest_model_zrok.InviteTokenGenerateRequest) *InviteTokenGenerateParams
WithBody adds the body to the invite token generate params
func (*InviteTokenGenerateParams) WithContext ¶
func (o *InviteTokenGenerateParams) WithContext(ctx context.Context) *InviteTokenGenerateParams
WithContext adds the context to the invite token generate params
func (*InviteTokenGenerateParams) WithDefaults ¶
func (o *InviteTokenGenerateParams) WithDefaults() *InviteTokenGenerateParams
WithDefaults hydrates default values in the invite token generate params (not the query body).
All values with no default are reset to their zero value.
func (*InviteTokenGenerateParams) WithHTTPClient ¶
func (o *InviteTokenGenerateParams) WithHTTPClient(client *http.Client) *InviteTokenGenerateParams
WithHTTPClient adds the HTTPClient to the invite token generate params
func (*InviteTokenGenerateParams) WithTimeout ¶
func (o *InviteTokenGenerateParams) WithTimeout(timeout time.Duration) *InviteTokenGenerateParams
WithTimeout adds the timeout to the invite token generate params
func (*InviteTokenGenerateParams) WriteToRequest ¶
func (o *InviteTokenGenerateParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type InviteTokenGenerateReader ¶
type InviteTokenGenerateReader struct {
// contains filtered or unexported fields
}
InviteTokenGenerateReader is a Reader for the InviteTokenGenerate structure.
func (*InviteTokenGenerateReader) ReadResponse ¶
func (o *InviteTokenGenerateReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type InviteTokenGenerateUnauthorized ¶
type InviteTokenGenerateUnauthorized struct { }
InviteTokenGenerateUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewInviteTokenGenerateUnauthorized ¶
func NewInviteTokenGenerateUnauthorized() *InviteTokenGenerateUnauthorized
NewInviteTokenGenerateUnauthorized creates a InviteTokenGenerateUnauthorized with default headers values
func (*InviteTokenGenerateUnauthorized) Error ¶
func (o *InviteTokenGenerateUnauthorized) Error() string
func (*InviteTokenGenerateUnauthorized) IsClientError ¶
func (o *InviteTokenGenerateUnauthorized) IsClientError() bool
IsClientError returns true when this invite token generate unauthorized response has a 4xx status code
func (*InviteTokenGenerateUnauthorized) IsCode ¶
func (o *InviteTokenGenerateUnauthorized) IsCode(code int) bool
IsCode returns true when this invite token generate unauthorized response a status code equal to that given
func (*InviteTokenGenerateUnauthorized) IsRedirect ¶
func (o *InviteTokenGenerateUnauthorized) IsRedirect() bool
IsRedirect returns true when this invite token generate unauthorized response has a 3xx status code
func (*InviteTokenGenerateUnauthorized) IsServerError ¶
func (o *InviteTokenGenerateUnauthorized) IsServerError() bool
IsServerError returns true when this invite token generate unauthorized response has a 5xx status code
func (*InviteTokenGenerateUnauthorized) IsSuccess ¶
func (o *InviteTokenGenerateUnauthorized) IsSuccess() bool
IsSuccess returns true when this invite token generate unauthorized response has a 2xx status code
func (*InviteTokenGenerateUnauthorized) String ¶
func (o *InviteTokenGenerateUnauthorized) String() string
type ListFrontendsInternalServerError ¶
type ListFrontendsInternalServerError struct { }
ListFrontendsInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewListFrontendsInternalServerError ¶
func NewListFrontendsInternalServerError() *ListFrontendsInternalServerError
NewListFrontendsInternalServerError creates a ListFrontendsInternalServerError with default headers values
func (*ListFrontendsInternalServerError) Error ¶
func (o *ListFrontendsInternalServerError) Error() string
func (*ListFrontendsInternalServerError) IsClientError ¶
func (o *ListFrontendsInternalServerError) IsClientError() bool
IsClientError returns true when this list frontends internal server error response has a 4xx status code
func (*ListFrontendsInternalServerError) IsCode ¶
func (o *ListFrontendsInternalServerError) IsCode(code int) bool
IsCode returns true when this list frontends internal server error response a status code equal to that given
func (*ListFrontendsInternalServerError) IsRedirect ¶
func (o *ListFrontendsInternalServerError) IsRedirect() bool
IsRedirect returns true when this list frontends internal server error response has a 3xx status code
func (*ListFrontendsInternalServerError) IsServerError ¶
func (o *ListFrontendsInternalServerError) IsServerError() bool
IsServerError returns true when this list frontends internal server error response has a 5xx status code
func (*ListFrontendsInternalServerError) IsSuccess ¶
func (o *ListFrontendsInternalServerError) IsSuccess() bool
IsSuccess returns true when this list frontends internal server error response has a 2xx status code
func (*ListFrontendsInternalServerError) String ¶
func (o *ListFrontendsInternalServerError) String() string
type ListFrontendsOK ¶
type ListFrontendsOK struct {
Payload rest_model_zrok.PublicFrontendList
}
ListFrontendsOK describes a response with status code 200, with default header values.
ok
func NewListFrontendsOK ¶
func NewListFrontendsOK() *ListFrontendsOK
NewListFrontendsOK creates a ListFrontendsOK with default headers values
func (*ListFrontendsOK) Error ¶
func (o *ListFrontendsOK) Error() string
func (*ListFrontendsOK) GetPayload ¶
func (o *ListFrontendsOK) GetPayload() rest_model_zrok.PublicFrontendList
func (*ListFrontendsOK) IsClientError ¶
func (o *ListFrontendsOK) IsClientError() bool
IsClientError returns true when this list frontends o k response has a 4xx status code
func (*ListFrontendsOK) IsCode ¶
func (o *ListFrontendsOK) IsCode(code int) bool
IsCode returns true when this list frontends o k response a status code equal to that given
func (*ListFrontendsOK) IsRedirect ¶
func (o *ListFrontendsOK) IsRedirect() bool
IsRedirect returns true when this list frontends o k response has a 3xx status code
func (*ListFrontendsOK) IsServerError ¶
func (o *ListFrontendsOK) IsServerError() bool
IsServerError returns true when this list frontends o k response has a 5xx status code
func (*ListFrontendsOK) IsSuccess ¶
func (o *ListFrontendsOK) IsSuccess() bool
IsSuccess returns true when this list frontends o k response has a 2xx status code
func (*ListFrontendsOK) String ¶
func (o *ListFrontendsOK) String() string
type ListFrontendsParams ¶
type ListFrontendsParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
ListFrontendsParams contains all the parameters to send to the API endpoint
for the list frontends operation. Typically these are written to a http.Request.
func NewListFrontendsParams ¶
func NewListFrontendsParams() *ListFrontendsParams
NewListFrontendsParams creates a new ListFrontendsParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewListFrontendsParamsWithContext ¶
func NewListFrontendsParamsWithContext(ctx context.Context) *ListFrontendsParams
NewListFrontendsParamsWithContext creates a new ListFrontendsParams object with the ability to set a context for a request.
func NewListFrontendsParamsWithHTTPClient ¶
func NewListFrontendsParamsWithHTTPClient(client *http.Client) *ListFrontendsParams
NewListFrontendsParamsWithHTTPClient creates a new ListFrontendsParams object with the ability to set a custom HTTPClient for a request.
func NewListFrontendsParamsWithTimeout ¶
func NewListFrontendsParamsWithTimeout(timeout time.Duration) *ListFrontendsParams
NewListFrontendsParamsWithTimeout creates a new ListFrontendsParams object with the ability to set a timeout on a request.
func (*ListFrontendsParams) SetContext ¶
func (o *ListFrontendsParams) SetContext(ctx context.Context)
SetContext adds the context to the list frontends params
func (*ListFrontendsParams) SetDefaults ¶
func (o *ListFrontendsParams) SetDefaults()
SetDefaults hydrates default values in the list frontends params (not the query body).
All values with no default are reset to their zero value.
func (*ListFrontendsParams) SetHTTPClient ¶
func (o *ListFrontendsParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the list frontends params
func (*ListFrontendsParams) SetTimeout ¶
func (o *ListFrontendsParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the list frontends params
func (*ListFrontendsParams) WithContext ¶
func (o *ListFrontendsParams) WithContext(ctx context.Context) *ListFrontendsParams
WithContext adds the context to the list frontends params
func (*ListFrontendsParams) WithDefaults ¶
func (o *ListFrontendsParams) WithDefaults() *ListFrontendsParams
WithDefaults hydrates default values in the list frontends params (not the query body).
All values with no default are reset to their zero value.
func (*ListFrontendsParams) WithHTTPClient ¶
func (o *ListFrontendsParams) WithHTTPClient(client *http.Client) *ListFrontendsParams
WithHTTPClient adds the HTTPClient to the list frontends params
func (*ListFrontendsParams) WithTimeout ¶
func (o *ListFrontendsParams) WithTimeout(timeout time.Duration) *ListFrontendsParams
WithTimeout adds the timeout to the list frontends params
func (*ListFrontendsParams) WriteToRequest ¶
func (o *ListFrontendsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type ListFrontendsReader ¶
type ListFrontendsReader struct {
// contains filtered or unexported fields
}
ListFrontendsReader is a Reader for the ListFrontends structure.
func (*ListFrontendsReader) ReadResponse ¶
func (o *ListFrontendsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type ListFrontendsUnauthorized ¶
type ListFrontendsUnauthorized struct { }
ListFrontendsUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewListFrontendsUnauthorized ¶
func NewListFrontendsUnauthorized() *ListFrontendsUnauthorized
NewListFrontendsUnauthorized creates a ListFrontendsUnauthorized with default headers values
func (*ListFrontendsUnauthorized) Error ¶
func (o *ListFrontendsUnauthorized) Error() string
func (*ListFrontendsUnauthorized) IsClientError ¶
func (o *ListFrontendsUnauthorized) IsClientError() bool
IsClientError returns true when this list frontends unauthorized response has a 4xx status code
func (*ListFrontendsUnauthorized) IsCode ¶
func (o *ListFrontendsUnauthorized) IsCode(code int) bool
IsCode returns true when this list frontends unauthorized response a status code equal to that given
func (*ListFrontendsUnauthorized) IsRedirect ¶
func (o *ListFrontendsUnauthorized) IsRedirect() bool
IsRedirect returns true when this list frontends unauthorized response has a 3xx status code
func (*ListFrontendsUnauthorized) IsServerError ¶
func (o *ListFrontendsUnauthorized) IsServerError() bool
IsServerError returns true when this list frontends unauthorized response has a 5xx status code
func (*ListFrontendsUnauthorized) IsSuccess ¶
func (o *ListFrontendsUnauthorized) IsSuccess() bool
IsSuccess returns true when this list frontends unauthorized response has a 2xx status code
func (*ListFrontendsUnauthorized) String ¶
func (o *ListFrontendsUnauthorized) String() string
type UpdateFrontendInternalServerError ¶
type UpdateFrontendInternalServerError struct { }
UpdateFrontendInternalServerError describes a response with status code 500, with default header values.
internal server error
func NewUpdateFrontendInternalServerError ¶
func NewUpdateFrontendInternalServerError() *UpdateFrontendInternalServerError
NewUpdateFrontendInternalServerError creates a UpdateFrontendInternalServerError with default headers values
func (*UpdateFrontendInternalServerError) Error ¶
func (o *UpdateFrontendInternalServerError) Error() string
func (*UpdateFrontendInternalServerError) IsClientError ¶
func (o *UpdateFrontendInternalServerError) IsClientError() bool
IsClientError returns true when this update frontend internal server error response has a 4xx status code
func (*UpdateFrontendInternalServerError) IsCode ¶
func (o *UpdateFrontendInternalServerError) IsCode(code int) bool
IsCode returns true when this update frontend internal server error response a status code equal to that given
func (*UpdateFrontendInternalServerError) IsRedirect ¶
func (o *UpdateFrontendInternalServerError) IsRedirect() bool
IsRedirect returns true when this update frontend internal server error response has a 3xx status code
func (*UpdateFrontendInternalServerError) IsServerError ¶
func (o *UpdateFrontendInternalServerError) IsServerError() bool
IsServerError returns true when this update frontend internal server error response has a 5xx status code
func (*UpdateFrontendInternalServerError) IsSuccess ¶
func (o *UpdateFrontendInternalServerError) IsSuccess() bool
IsSuccess returns true when this update frontend internal server error response has a 2xx status code
func (*UpdateFrontendInternalServerError) String ¶
func (o *UpdateFrontendInternalServerError) String() string
type UpdateFrontendNotFound ¶
type UpdateFrontendNotFound struct { }
UpdateFrontendNotFound describes a response with status code 404, with default header values.
not found
func NewUpdateFrontendNotFound ¶
func NewUpdateFrontendNotFound() *UpdateFrontendNotFound
NewUpdateFrontendNotFound creates a UpdateFrontendNotFound with default headers values
func (*UpdateFrontendNotFound) Error ¶
func (o *UpdateFrontendNotFound) Error() string
func (*UpdateFrontendNotFound) IsClientError ¶
func (o *UpdateFrontendNotFound) IsClientError() bool
IsClientError returns true when this update frontend not found response has a 4xx status code
func (*UpdateFrontendNotFound) IsCode ¶
func (o *UpdateFrontendNotFound) IsCode(code int) bool
IsCode returns true when this update frontend not found response a status code equal to that given
func (*UpdateFrontendNotFound) IsRedirect ¶
func (o *UpdateFrontendNotFound) IsRedirect() bool
IsRedirect returns true when this update frontend not found response has a 3xx status code
func (*UpdateFrontendNotFound) IsServerError ¶
func (o *UpdateFrontendNotFound) IsServerError() bool
IsServerError returns true when this update frontend not found response has a 5xx status code
func (*UpdateFrontendNotFound) IsSuccess ¶
func (o *UpdateFrontendNotFound) IsSuccess() bool
IsSuccess returns true when this update frontend not found response has a 2xx status code
func (*UpdateFrontendNotFound) String ¶
func (o *UpdateFrontendNotFound) String() string
type UpdateFrontendOK ¶
type UpdateFrontendOK struct { }
UpdateFrontendOK describes a response with status code 200, with default header values.
frontend updated
func NewUpdateFrontendOK ¶
func NewUpdateFrontendOK() *UpdateFrontendOK
NewUpdateFrontendOK creates a UpdateFrontendOK with default headers values
func (*UpdateFrontendOK) Error ¶
func (o *UpdateFrontendOK) Error() string
func (*UpdateFrontendOK) IsClientError ¶
func (o *UpdateFrontendOK) IsClientError() bool
IsClientError returns true when this update frontend o k response has a 4xx status code
func (*UpdateFrontendOK) IsCode ¶
func (o *UpdateFrontendOK) IsCode(code int) bool
IsCode returns true when this update frontend o k response a status code equal to that given
func (*UpdateFrontendOK) IsRedirect ¶
func (o *UpdateFrontendOK) IsRedirect() bool
IsRedirect returns true when this update frontend o k response has a 3xx status code
func (*UpdateFrontendOK) IsServerError ¶
func (o *UpdateFrontendOK) IsServerError() bool
IsServerError returns true when this update frontend o k response has a 5xx status code
func (*UpdateFrontendOK) IsSuccess ¶
func (o *UpdateFrontendOK) IsSuccess() bool
IsSuccess returns true when this update frontend o k response has a 2xx status code
func (*UpdateFrontendOK) String ¶
func (o *UpdateFrontendOK) String() string
type UpdateFrontendParams ¶
type UpdateFrontendParams struct { // Body. Body *rest_model_zrok.UpdateFrontendRequest Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
UpdateFrontendParams contains all the parameters to send to the API endpoint
for the update frontend operation. Typically these are written to a http.Request.
func NewUpdateFrontendParams ¶
func NewUpdateFrontendParams() *UpdateFrontendParams
NewUpdateFrontendParams creates a new UpdateFrontendParams object, with the default timeout for this client.
Default values are not hydrated, since defaults are normally applied by the API server side.
To enforce default values in parameter, use SetDefaults or WithDefaults.
func NewUpdateFrontendParamsWithContext ¶
func NewUpdateFrontendParamsWithContext(ctx context.Context) *UpdateFrontendParams
NewUpdateFrontendParamsWithContext creates a new UpdateFrontendParams object with the ability to set a context for a request.
func NewUpdateFrontendParamsWithHTTPClient ¶
func NewUpdateFrontendParamsWithHTTPClient(client *http.Client) *UpdateFrontendParams
NewUpdateFrontendParamsWithHTTPClient creates a new UpdateFrontendParams object with the ability to set a custom HTTPClient for a request.
func NewUpdateFrontendParamsWithTimeout ¶
func NewUpdateFrontendParamsWithTimeout(timeout time.Duration) *UpdateFrontendParams
NewUpdateFrontendParamsWithTimeout creates a new UpdateFrontendParams object with the ability to set a timeout on a request.
func (*UpdateFrontendParams) SetBody ¶
func (o *UpdateFrontendParams) SetBody(body *rest_model_zrok.UpdateFrontendRequest)
SetBody adds the body to the update frontend params
func (*UpdateFrontendParams) SetContext ¶
func (o *UpdateFrontendParams) SetContext(ctx context.Context)
SetContext adds the context to the update frontend params
func (*UpdateFrontendParams) SetDefaults ¶
func (o *UpdateFrontendParams) SetDefaults()
SetDefaults hydrates default values in the update frontend params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFrontendParams) SetHTTPClient ¶
func (o *UpdateFrontendParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the update frontend params
func (*UpdateFrontendParams) SetTimeout ¶
func (o *UpdateFrontendParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the update frontend params
func (*UpdateFrontendParams) WithBody ¶
func (o *UpdateFrontendParams) WithBody(body *rest_model_zrok.UpdateFrontendRequest) *UpdateFrontendParams
WithBody adds the body to the update frontend params
func (*UpdateFrontendParams) WithContext ¶
func (o *UpdateFrontendParams) WithContext(ctx context.Context) *UpdateFrontendParams
WithContext adds the context to the update frontend params
func (*UpdateFrontendParams) WithDefaults ¶
func (o *UpdateFrontendParams) WithDefaults() *UpdateFrontendParams
WithDefaults hydrates default values in the update frontend params (not the query body).
All values with no default are reset to their zero value.
func (*UpdateFrontendParams) WithHTTPClient ¶
func (o *UpdateFrontendParams) WithHTTPClient(client *http.Client) *UpdateFrontendParams
WithHTTPClient adds the HTTPClient to the update frontend params
func (*UpdateFrontendParams) WithTimeout ¶
func (o *UpdateFrontendParams) WithTimeout(timeout time.Duration) *UpdateFrontendParams
WithTimeout adds the timeout to the update frontend params
func (*UpdateFrontendParams) WriteToRequest ¶
func (o *UpdateFrontendParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type UpdateFrontendReader ¶
type UpdateFrontendReader struct {
// contains filtered or unexported fields
}
UpdateFrontendReader is a Reader for the UpdateFrontend structure.
func (*UpdateFrontendReader) ReadResponse ¶
func (o *UpdateFrontendReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type UpdateFrontendUnauthorized ¶
type UpdateFrontendUnauthorized struct { }
UpdateFrontendUnauthorized describes a response with status code 401, with default header values.
unauthorized
func NewUpdateFrontendUnauthorized ¶
func NewUpdateFrontendUnauthorized() *UpdateFrontendUnauthorized
NewUpdateFrontendUnauthorized creates a UpdateFrontendUnauthorized with default headers values
func (*UpdateFrontendUnauthorized) Error ¶
func (o *UpdateFrontendUnauthorized) Error() string
func (*UpdateFrontendUnauthorized) IsClientError ¶
func (o *UpdateFrontendUnauthorized) IsClientError() bool
IsClientError returns true when this update frontend unauthorized response has a 4xx status code
func (*UpdateFrontendUnauthorized) IsCode ¶
func (o *UpdateFrontendUnauthorized) IsCode(code int) bool
IsCode returns true when this update frontend unauthorized response a status code equal to that given
func (*UpdateFrontendUnauthorized) IsRedirect ¶
func (o *UpdateFrontendUnauthorized) IsRedirect() bool
IsRedirect returns true when this update frontend unauthorized response has a 3xx status code
func (*UpdateFrontendUnauthorized) IsServerError ¶
func (o *UpdateFrontendUnauthorized) IsServerError() bool
IsServerError returns true when this update frontend unauthorized response has a 5xx status code
func (*UpdateFrontendUnauthorized) IsSuccess ¶
func (o *UpdateFrontendUnauthorized) IsSuccess() bool
IsSuccess returns true when this update frontend unauthorized response has a 2xx status code
func (*UpdateFrontendUnauthorized) String ¶
func (o *UpdateFrontendUnauthorized) String() string
Source Files ¶
- admin_client.go
- create_frontend_parameters.go
- create_frontend_responses.go
- create_identity_parameters.go
- create_identity_responses.go
- delete_frontend_parameters.go
- delete_frontend_responses.go
- invite_token_generate_parameters.go
- invite_token_generate_responses.go
- list_frontends_parameters.go
- list_frontends_responses.go
- update_frontend_parameters.go
- update_frontend_responses.go