admin

package
v0.4.41 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 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) CreateAccount added in v0.4.39

func (a *Client) CreateAccount(params *CreateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountCreated, error)

CreateAccount create account 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) Grants added in v0.4.40

func (a *Client) Grants(params *GrantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantsOK, error)

Grants grants 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 {
	CreateAccount(params *CreateAccountParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*CreateAccountCreated, error)

	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)

	Grants(params *GrantsParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GrantsOK, 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 CreateAccountBody added in v0.4.39

type CreateAccountBody struct {

	// email
	Email string `json:"email,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

CreateAccountBody create account body swagger:model CreateAccountBody

func (*CreateAccountBody) ContextValidate added in v0.4.39

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

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

func (*CreateAccountBody) MarshalBinary added in v0.4.39

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

MarshalBinary interface implementation

func (*CreateAccountBody) UnmarshalBinary added in v0.4.39

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

UnmarshalBinary interface implementation

func (*CreateAccountBody) Validate added in v0.4.39

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

Validate validates this create account body

type CreateAccountCreated added in v0.4.39

type CreateAccountCreated struct {
	Payload *CreateAccountCreatedBody
}

CreateAccountCreated describes a response with status code 201, with default header values.

created

func NewCreateAccountCreated added in v0.4.39

func NewCreateAccountCreated() *CreateAccountCreated

NewCreateAccountCreated creates a CreateAccountCreated with default headers values

func (*CreateAccountCreated) Code added in v0.4.39

func (o *CreateAccountCreated) Code() int

Code gets the status code for the create account created response

func (*CreateAccountCreated) Error added in v0.4.39

func (o *CreateAccountCreated) Error() string

func (*CreateAccountCreated) GetPayload added in v0.4.39

func (*CreateAccountCreated) IsClientError added in v0.4.39

func (o *CreateAccountCreated) IsClientError() bool

IsClientError returns true when this create account created response has a 4xx status code

func (*CreateAccountCreated) IsCode added in v0.4.39

func (o *CreateAccountCreated) IsCode(code int) bool

IsCode returns true when this create account created response a status code equal to that given

func (*CreateAccountCreated) IsRedirect added in v0.4.39

func (o *CreateAccountCreated) IsRedirect() bool

IsRedirect returns true when this create account created response has a 3xx status code

func (*CreateAccountCreated) IsServerError added in v0.4.39

func (o *CreateAccountCreated) IsServerError() bool

IsServerError returns true when this create account created response has a 5xx status code

func (*CreateAccountCreated) IsSuccess added in v0.4.39

func (o *CreateAccountCreated) IsSuccess() bool

IsSuccess returns true when this create account created response has a 2xx status code

func (*CreateAccountCreated) String added in v0.4.39

func (o *CreateAccountCreated) String() string

type CreateAccountCreatedBody added in v0.4.39

type CreateAccountCreatedBody struct {

	// token
	Token string `json:"token,omitempty"`
}

CreateAccountCreatedBody create account created body swagger:model CreateAccountCreatedBody

func (*CreateAccountCreatedBody) ContextValidate added in v0.4.39

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

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

func (*CreateAccountCreatedBody) MarshalBinary added in v0.4.39

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

MarshalBinary interface implementation

func (*CreateAccountCreatedBody) UnmarshalBinary added in v0.4.39

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

UnmarshalBinary interface implementation

func (*CreateAccountCreatedBody) Validate added in v0.4.39

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

Validate validates this create account created body

type CreateAccountInternalServerError added in v0.4.39

type CreateAccountInternalServerError struct {
}

CreateAccountInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewCreateAccountInternalServerError added in v0.4.39

func NewCreateAccountInternalServerError() *CreateAccountInternalServerError

NewCreateAccountInternalServerError creates a CreateAccountInternalServerError with default headers values

func (*CreateAccountInternalServerError) Code added in v0.4.39

Code gets the status code for the create account internal server error response

func (*CreateAccountInternalServerError) Error added in v0.4.39

func (*CreateAccountInternalServerError) IsClientError added in v0.4.39

func (o *CreateAccountInternalServerError) IsClientError() bool

IsClientError returns true when this create account internal server error response has a 4xx status code

func (*CreateAccountInternalServerError) IsCode added in v0.4.39

func (o *CreateAccountInternalServerError) IsCode(code int) bool

IsCode returns true when this create account internal server error response a status code equal to that given

func (*CreateAccountInternalServerError) IsRedirect added in v0.4.39

func (o *CreateAccountInternalServerError) IsRedirect() bool

IsRedirect returns true when this create account internal server error response has a 3xx status code

func (*CreateAccountInternalServerError) IsServerError added in v0.4.39

func (o *CreateAccountInternalServerError) IsServerError() bool

IsServerError returns true when this create account internal server error response has a 5xx status code

func (*CreateAccountInternalServerError) IsSuccess added in v0.4.39

func (o *CreateAccountInternalServerError) IsSuccess() bool

IsSuccess returns true when this create account internal server error response has a 2xx status code

func (*CreateAccountInternalServerError) String added in v0.4.39

type CreateAccountParams added in v0.4.39

type CreateAccountParams struct {

	// Body.
	Body CreateAccountBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

CreateAccountParams contains all the parameters to send to the API endpoint

for the create account operation.

Typically these are written to a http.Request.

func NewCreateAccountParams added in v0.4.39

func NewCreateAccountParams() *CreateAccountParams

NewCreateAccountParams creates a new CreateAccountParams 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 NewCreateAccountParamsWithContext added in v0.4.39

func NewCreateAccountParamsWithContext(ctx context.Context) *CreateAccountParams

NewCreateAccountParamsWithContext creates a new CreateAccountParams object with the ability to set a context for a request.

func NewCreateAccountParamsWithHTTPClient added in v0.4.39

func NewCreateAccountParamsWithHTTPClient(client *http.Client) *CreateAccountParams

NewCreateAccountParamsWithHTTPClient creates a new CreateAccountParams object with the ability to set a custom HTTPClient for a request.

func NewCreateAccountParamsWithTimeout added in v0.4.39

func NewCreateAccountParamsWithTimeout(timeout time.Duration) *CreateAccountParams

NewCreateAccountParamsWithTimeout creates a new CreateAccountParams object with the ability to set a timeout on a request.

func (*CreateAccountParams) SetBody added in v0.4.39

func (o *CreateAccountParams) SetBody(body CreateAccountBody)

SetBody adds the body to the create account params

func (*CreateAccountParams) SetContext added in v0.4.39

func (o *CreateAccountParams) SetContext(ctx context.Context)

SetContext adds the context to the create account params

func (*CreateAccountParams) SetDefaults added in v0.4.39

func (o *CreateAccountParams) SetDefaults()

SetDefaults hydrates default values in the create account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAccountParams) SetHTTPClient added in v0.4.39

func (o *CreateAccountParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) SetTimeout added in v0.4.39

func (o *CreateAccountParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the create account params

func (*CreateAccountParams) WithBody added in v0.4.39

WithBody adds the body to the create account params

func (*CreateAccountParams) WithContext added in v0.4.39

WithContext adds the context to the create account params

func (*CreateAccountParams) WithDefaults added in v0.4.39

func (o *CreateAccountParams) WithDefaults() *CreateAccountParams

WithDefaults hydrates default values in the create account params (not the query body).

All values with no default are reset to their zero value.

func (*CreateAccountParams) WithHTTPClient added in v0.4.39

func (o *CreateAccountParams) WithHTTPClient(client *http.Client) *CreateAccountParams

WithHTTPClient adds the HTTPClient to the create account params

func (*CreateAccountParams) WithTimeout added in v0.4.39

func (o *CreateAccountParams) WithTimeout(timeout time.Duration) *CreateAccountParams

WithTimeout adds the timeout to the create account params

func (*CreateAccountParams) WriteToRequest added in v0.4.39

func (o *CreateAccountParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type CreateAccountReader added in v0.4.39

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

CreateAccountReader is a Reader for the CreateAccount structure.

func (*CreateAccountReader) ReadResponse added in v0.4.39

func (o *CreateAccountReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type CreateAccountUnauthorized added in v0.4.39

type CreateAccountUnauthorized struct {
}

CreateAccountUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewCreateAccountUnauthorized added in v0.4.39

func NewCreateAccountUnauthorized() *CreateAccountUnauthorized

NewCreateAccountUnauthorized creates a CreateAccountUnauthorized with default headers values

func (*CreateAccountUnauthorized) Code added in v0.4.39

func (o *CreateAccountUnauthorized) Code() int

Code gets the status code for the create account unauthorized response

func (*CreateAccountUnauthorized) Error added in v0.4.39

func (o *CreateAccountUnauthorized) Error() string

func (*CreateAccountUnauthorized) IsClientError added in v0.4.39

func (o *CreateAccountUnauthorized) IsClientError() bool

IsClientError returns true when this create account unauthorized response has a 4xx status code

func (*CreateAccountUnauthorized) IsCode added in v0.4.39

func (o *CreateAccountUnauthorized) IsCode(code int) bool

IsCode returns true when this create account unauthorized response a status code equal to that given

func (*CreateAccountUnauthorized) IsRedirect added in v0.4.39

func (o *CreateAccountUnauthorized) IsRedirect() bool

IsRedirect returns true when this create account unauthorized response has a 3xx status code

func (*CreateAccountUnauthorized) IsServerError added in v0.4.39

func (o *CreateAccountUnauthorized) IsServerError() bool

IsServerError returns true when this create account unauthorized response has a 5xx status code

func (*CreateAccountUnauthorized) IsSuccess added in v0.4.39

func (o *CreateAccountUnauthorized) IsSuccess() bool

IsSuccess returns true when this create account unauthorized response has a 2xx status code

func (*CreateAccountUnauthorized) String added in v0.4.39

func (o *CreateAccountUnauthorized) String() string

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) Code added in v0.4.19

func (o *CreateFrontendBadRequest) Code() int

Code gets the status code for the create frontend bad request response

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) Code added in v0.4.19

func (o *CreateFrontendCreated) Code() int

Code gets the status code for the create frontend created response

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) Code added in v0.4.19

Code gets the status code for the create frontend internal server error response

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) Code added in v0.4.19

func (o *CreateFrontendNotFound) Code() int

Code gets the status code for the create frontend not found response

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) Code added in v0.4.19

func (o *CreateFrontendUnauthorized) Code() int

Code gets the status code for the create frontend unauthorized response

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) Code added in v0.4.19

func (o *CreateIdentityCreated) Code() int

Code gets the status code for the create identity created response

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) Code added in v0.4.19

Code gets the status code for the create identity internal server error response

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) Code added in v0.4.19

func (o *CreateIdentityUnauthorized) Code() int

Code gets the status code for the create identity unauthorized response

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) Code added in v0.4.19

Code gets the status code for the delete frontend internal server error response

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) Code added in v0.4.19

func (o *DeleteFrontendNotFound) Code() int

Code gets the status code for the delete frontend not found response

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) Code added in v0.4.19

func (o *DeleteFrontendOK) Code() int

Code gets the status code for the delete frontend o k response

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) Code added in v0.4.19

func (o *DeleteFrontendUnauthorized) Code() int

Code gets the status code for the delete frontend unauthorized response

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 GrantsBody added in v0.4.40

type GrantsBody struct {

	// email
	Email string `json:"email,omitempty"`
}

GrantsBody grants body swagger:model GrantsBody

func (*GrantsBody) ContextValidate added in v0.4.40

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

ContextValidate validates this grants body based on context it is used

func (*GrantsBody) MarshalBinary added in v0.4.40

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

MarshalBinary interface implementation

func (*GrantsBody) UnmarshalBinary added in v0.4.40

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

UnmarshalBinary interface implementation

func (*GrantsBody) Validate added in v0.4.40

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

Validate validates this grants body

type GrantsInternalServerError added in v0.4.40

type GrantsInternalServerError struct {
}

GrantsInternalServerError describes a response with status code 500, with default header values.

internal server error

func NewGrantsInternalServerError added in v0.4.40

func NewGrantsInternalServerError() *GrantsInternalServerError

NewGrantsInternalServerError creates a GrantsInternalServerError with default headers values

func (*GrantsInternalServerError) Code added in v0.4.40

func (o *GrantsInternalServerError) Code() int

Code gets the status code for the grants internal server error response

func (*GrantsInternalServerError) Error added in v0.4.40

func (o *GrantsInternalServerError) Error() string

func (*GrantsInternalServerError) IsClientError added in v0.4.40

func (o *GrantsInternalServerError) IsClientError() bool

IsClientError returns true when this grants internal server error response has a 4xx status code

func (*GrantsInternalServerError) IsCode added in v0.4.40

func (o *GrantsInternalServerError) IsCode(code int) bool

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

func (*GrantsInternalServerError) IsRedirect added in v0.4.40

func (o *GrantsInternalServerError) IsRedirect() bool

IsRedirect returns true when this grants internal server error response has a 3xx status code

func (*GrantsInternalServerError) IsServerError added in v0.4.40

func (o *GrantsInternalServerError) IsServerError() bool

IsServerError returns true when this grants internal server error response has a 5xx status code

func (*GrantsInternalServerError) IsSuccess added in v0.4.40

func (o *GrantsInternalServerError) IsSuccess() bool

IsSuccess returns true when this grants internal server error response has a 2xx status code

func (*GrantsInternalServerError) String added in v0.4.40

func (o *GrantsInternalServerError) String() string

type GrantsNotFound added in v0.4.40

type GrantsNotFound struct {
}

GrantsNotFound describes a response with status code 404, with default header values.

not found

func NewGrantsNotFound added in v0.4.40

func NewGrantsNotFound() *GrantsNotFound

NewGrantsNotFound creates a GrantsNotFound with default headers values

func (*GrantsNotFound) Code added in v0.4.40

func (o *GrantsNotFound) Code() int

Code gets the status code for the grants not found response

func (*GrantsNotFound) Error added in v0.4.40

func (o *GrantsNotFound) Error() string

func (*GrantsNotFound) IsClientError added in v0.4.40

func (o *GrantsNotFound) IsClientError() bool

IsClientError returns true when this grants not found response has a 4xx status code

func (*GrantsNotFound) IsCode added in v0.4.40

func (o *GrantsNotFound) IsCode(code int) bool

IsCode returns true when this grants not found response a status code equal to that given

func (*GrantsNotFound) IsRedirect added in v0.4.40

func (o *GrantsNotFound) IsRedirect() bool

IsRedirect returns true when this grants not found response has a 3xx status code

func (*GrantsNotFound) IsServerError added in v0.4.40

func (o *GrantsNotFound) IsServerError() bool

IsServerError returns true when this grants not found response has a 5xx status code

func (*GrantsNotFound) IsSuccess added in v0.4.40

func (o *GrantsNotFound) IsSuccess() bool

IsSuccess returns true when this grants not found response has a 2xx status code

func (*GrantsNotFound) String added in v0.4.40

func (o *GrantsNotFound) String() string

type GrantsOK added in v0.4.40

type GrantsOK struct {
}

GrantsOK describes a response with status code 200, with default header values.

ok

func NewGrantsOK added in v0.4.40

func NewGrantsOK() *GrantsOK

NewGrantsOK creates a GrantsOK with default headers values

func (*GrantsOK) Code added in v0.4.40

func (o *GrantsOK) Code() int

Code gets the status code for the grants o k response

func (*GrantsOK) Error added in v0.4.40

func (o *GrantsOK) Error() string

func (*GrantsOK) IsClientError added in v0.4.40

func (o *GrantsOK) IsClientError() bool

IsClientError returns true when this grants o k response has a 4xx status code

func (*GrantsOK) IsCode added in v0.4.40

func (o *GrantsOK) IsCode(code int) bool

IsCode returns true when this grants o k response a status code equal to that given

func (*GrantsOK) IsRedirect added in v0.4.40

func (o *GrantsOK) IsRedirect() bool

IsRedirect returns true when this grants o k response has a 3xx status code

func (*GrantsOK) IsServerError added in v0.4.40

func (o *GrantsOK) IsServerError() bool

IsServerError returns true when this grants o k response has a 5xx status code

func (*GrantsOK) IsSuccess added in v0.4.40

func (o *GrantsOK) IsSuccess() bool

IsSuccess returns true when this grants o k response has a 2xx status code

func (*GrantsOK) String added in v0.4.40

func (o *GrantsOK) String() string

type GrantsParams added in v0.4.40

type GrantsParams struct {

	// Body.
	Body GrantsBody

	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GrantsParams contains all the parameters to send to the API endpoint

for the grants operation.

Typically these are written to a http.Request.

func NewGrantsParams added in v0.4.40

func NewGrantsParams() *GrantsParams

NewGrantsParams creates a new GrantsParams 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 NewGrantsParamsWithContext added in v0.4.40

func NewGrantsParamsWithContext(ctx context.Context) *GrantsParams

NewGrantsParamsWithContext creates a new GrantsParams object with the ability to set a context for a request.

func NewGrantsParamsWithHTTPClient added in v0.4.40

func NewGrantsParamsWithHTTPClient(client *http.Client) *GrantsParams

NewGrantsParamsWithHTTPClient creates a new GrantsParams object with the ability to set a custom HTTPClient for a request.

func NewGrantsParamsWithTimeout added in v0.4.40

func NewGrantsParamsWithTimeout(timeout time.Duration) *GrantsParams

NewGrantsParamsWithTimeout creates a new GrantsParams object with the ability to set a timeout on a request.

func (*GrantsParams) SetBody added in v0.4.40

func (o *GrantsParams) SetBody(body GrantsBody)

SetBody adds the body to the grants params

func (*GrantsParams) SetContext added in v0.4.40

func (o *GrantsParams) SetContext(ctx context.Context)

SetContext adds the context to the grants params

func (*GrantsParams) SetDefaults added in v0.4.40

func (o *GrantsParams) SetDefaults()

SetDefaults hydrates default values in the grants params (not the query body).

All values with no default are reset to their zero value.

func (*GrantsParams) SetHTTPClient added in v0.4.40

func (o *GrantsParams) SetHTTPClient(client *http.Client)

SetHTTPClient adds the HTTPClient to the grants params

func (*GrantsParams) SetTimeout added in v0.4.40

func (o *GrantsParams) SetTimeout(timeout time.Duration)

SetTimeout adds the timeout to the grants params

func (*GrantsParams) WithBody added in v0.4.40

func (o *GrantsParams) WithBody(body GrantsBody) *GrantsParams

WithBody adds the body to the grants params

func (*GrantsParams) WithContext added in v0.4.40

func (o *GrantsParams) WithContext(ctx context.Context) *GrantsParams

WithContext adds the context to the grants params

func (*GrantsParams) WithDefaults added in v0.4.40

func (o *GrantsParams) WithDefaults() *GrantsParams

WithDefaults hydrates default values in the grants params (not the query body).

All values with no default are reset to their zero value.

func (*GrantsParams) WithHTTPClient added in v0.4.40

func (o *GrantsParams) WithHTTPClient(client *http.Client) *GrantsParams

WithHTTPClient adds the HTTPClient to the grants params

func (*GrantsParams) WithTimeout added in v0.4.40

func (o *GrantsParams) WithTimeout(timeout time.Duration) *GrantsParams

WithTimeout adds the timeout to the grants params

func (*GrantsParams) WriteToRequest added in v0.4.40

func (o *GrantsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error

WriteToRequest writes these params to a swagger request

type GrantsReader added in v0.4.40

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

GrantsReader is a Reader for the Grants structure.

func (*GrantsReader) ReadResponse added in v0.4.40

func (o *GrantsReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)

ReadResponse reads a server response into the received o.

type GrantsUnauthorized added in v0.4.40

type GrantsUnauthorized struct {
}

GrantsUnauthorized describes a response with status code 401, with default header values.

unauthorized

func NewGrantsUnauthorized added in v0.4.40

func NewGrantsUnauthorized() *GrantsUnauthorized

NewGrantsUnauthorized creates a GrantsUnauthorized with default headers values

func (*GrantsUnauthorized) Code added in v0.4.40

func (o *GrantsUnauthorized) Code() int

Code gets the status code for the grants unauthorized response

func (*GrantsUnauthorized) Error added in v0.4.40

func (o *GrantsUnauthorized) Error() string

func (*GrantsUnauthorized) IsClientError added in v0.4.40

func (o *GrantsUnauthorized) IsClientError() bool

IsClientError returns true when this grants unauthorized response has a 4xx status code

func (*GrantsUnauthorized) IsCode added in v0.4.40

func (o *GrantsUnauthorized) IsCode(code int) bool

IsCode returns true when this grants unauthorized response a status code equal to that given

func (*GrantsUnauthorized) IsRedirect added in v0.4.40

func (o *GrantsUnauthorized) IsRedirect() bool

IsRedirect returns true when this grants unauthorized response has a 3xx status code

func (*GrantsUnauthorized) IsServerError added in v0.4.40

func (o *GrantsUnauthorized) IsServerError() bool

IsServerError returns true when this grants unauthorized response has a 5xx status code

func (*GrantsUnauthorized) IsSuccess added in v0.4.40

func (o *GrantsUnauthorized) IsSuccess() bool

IsSuccess returns true when this grants unauthorized response has a 2xx status code

func (*GrantsUnauthorized) String added in v0.4.40

func (o *GrantsUnauthorized) 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) Code added in v0.4.19

Code gets the status code for the invite token generate bad request response

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) Code added in v0.4.19

func (o *InviteTokenGenerateCreated) Code() int

Code gets the status code for the invite token generate created response

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) Code added in v0.4.19

Code gets the status code for the invite token generate internal server error response

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) Code added in v0.4.19

Code gets the status code for the invite token generate unauthorized response

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) Code added in v0.4.19

Code gets the status code for the list frontends internal server error response

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) Code added in v0.4.19

func (o *ListFrontendsOK) Code() int

Code gets the status code for the list frontends o k response

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) Code added in v0.4.19

func (o *ListFrontendsUnauthorized) Code() int

Code gets the status code for the list frontends unauthorized response

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) Code added in v0.4.19

Code gets the status code for the update frontend internal server error response

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) Code added in v0.4.19

func (o *UpdateFrontendNotFound) Code() int

Code gets the status code for the update frontend not found response

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) Code added in v0.4.19

func (o *UpdateFrontendOK) Code() int

Code gets the status code for the update frontend o k response

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) Code added in v0.4.19

func (o *UpdateFrontendUnauthorized) Code() int

Code gets the status code for the update frontend unauthorized response

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