admin

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

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 (*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 (*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

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

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

WithBody adds the body to the create frontend params

func (*CreateFrontendParams) WithContext

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 (*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

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 {
	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 (*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

func (*CreateIdentityCreatedBody) Validate

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

Validate validates this create identity created body

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 (*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

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

WithBody adds the body to the create identity params

func (*CreateIdentityParams) WithContext

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 (*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 (*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

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

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

WithBody adds the body to the delete frontend params

func (*DeleteFrontendParams) WithContext

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 (*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 (*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

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 (*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 (*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

IsCode returns true when this invite token generate internal server error response a status code equal to that given

func (*InviteTokenGenerateInternalServerError) IsRedirect

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

IsSuccess returns true when this invite token generate internal server error response has a 2xx status code

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

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

WithBody adds the body to the invite token generate params

func (*InviteTokenGenerateParams) WithContext

WithContext adds the context to the invite token generate params

func (*InviteTokenGenerateParams) WithDefaults

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

WithTimeout adds the timeout to the invite token generate params

func (*InviteTokenGenerateParams) WriteToRequest

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 (*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

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 (*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

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 (*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

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 (*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

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

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

WithBody adds the body to the update frontend params

func (*UpdateFrontendParams) WithContext

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 (*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

Jump to

Keyboard shortcuts

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