scopes

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 10 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 scopes API

func (*Client) ListScopesSystem

func (a *Client) ListScopesSystem(params *ListScopesSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScopesSystemOK, error)

ListScopesSystem lists scopes for authorization server

This API lists scopes for a given authorization server

func (*Client) SetTransport

func (a *Client) SetTransport(transport runtime.ClientTransport)

SetTransport changes the transport on the client

type ClientOption

type ClientOption func(*runtime.ClientOperation)

ClientOption is the option for Client methods

type ClientService

type ClientService interface {
	ListScopesSystem(params *ListScopesSystemParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*ListScopesSystemOK, 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 scopes API client.

type ListScopesSystemForbidden

type ListScopesSystemForbidden struct {
	Payload *models.Error
}

ListScopesSystemForbidden describes a response with status code 403, with default header values.

Forbidden

func NewListScopesSystemForbidden

func NewListScopesSystemForbidden() *ListScopesSystemForbidden

NewListScopesSystemForbidden creates a ListScopesSystemForbidden with default headers values

func (*ListScopesSystemForbidden) Code

func (o *ListScopesSystemForbidden) Code() int

Code gets the status code for the list scopes system forbidden response

func (*ListScopesSystemForbidden) Error

func (o *ListScopesSystemForbidden) Error() string

func (*ListScopesSystemForbidden) GetPayload

func (o *ListScopesSystemForbidden) GetPayload() *models.Error

func (*ListScopesSystemForbidden) IsClientError

func (o *ListScopesSystemForbidden) IsClientError() bool

IsClientError returns true when this list scopes system forbidden response has a 4xx status code

func (*ListScopesSystemForbidden) IsCode

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

IsCode returns true when this list scopes system forbidden response a status code equal to that given

func (*ListScopesSystemForbidden) IsRedirect

func (o *ListScopesSystemForbidden) IsRedirect() bool

IsRedirect returns true when this list scopes system forbidden response has a 3xx status code

func (*ListScopesSystemForbidden) IsServerError

func (o *ListScopesSystemForbidden) IsServerError() bool

IsServerError returns true when this list scopes system forbidden response has a 5xx status code

func (*ListScopesSystemForbidden) IsSuccess

func (o *ListScopesSystemForbidden) IsSuccess() bool

IsSuccess returns true when this list scopes system forbidden response has a 2xx status code

func (*ListScopesSystemForbidden) String

func (o *ListScopesSystemForbidden) String() string

type ListScopesSystemNotFound

type ListScopesSystemNotFound struct {
	Payload *models.Error
}

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

Not found

func NewListScopesSystemNotFound

func NewListScopesSystemNotFound() *ListScopesSystemNotFound

NewListScopesSystemNotFound creates a ListScopesSystemNotFound with default headers values

func (*ListScopesSystemNotFound) Code

func (o *ListScopesSystemNotFound) Code() int

Code gets the status code for the list scopes system not found response

func (*ListScopesSystemNotFound) Error

func (o *ListScopesSystemNotFound) Error() string

func (*ListScopesSystemNotFound) GetPayload

func (o *ListScopesSystemNotFound) GetPayload() *models.Error

func (*ListScopesSystemNotFound) IsClientError

func (o *ListScopesSystemNotFound) IsClientError() bool

IsClientError returns true when this list scopes system not found response has a 4xx status code

func (*ListScopesSystemNotFound) IsCode

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

IsCode returns true when this list scopes system not found response a status code equal to that given

func (*ListScopesSystemNotFound) IsRedirect

func (o *ListScopesSystemNotFound) IsRedirect() bool

IsRedirect returns true when this list scopes system not found response has a 3xx status code

func (*ListScopesSystemNotFound) IsServerError

func (o *ListScopesSystemNotFound) IsServerError() bool

IsServerError returns true when this list scopes system not found response has a 5xx status code

func (*ListScopesSystemNotFound) IsSuccess

func (o *ListScopesSystemNotFound) IsSuccess() bool

IsSuccess returns true when this list scopes system not found response has a 2xx status code

func (*ListScopesSystemNotFound) String

func (o *ListScopesSystemNotFound) String() string

type ListScopesSystemOK

type ListScopesSystemOK struct {
	Payload *models.ScopesWithServices
}

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

ScopesWithServices

func NewListScopesSystemOK

func NewListScopesSystemOK() *ListScopesSystemOK

NewListScopesSystemOK creates a ListScopesSystemOK with default headers values

func (*ListScopesSystemOK) Code

func (o *ListScopesSystemOK) Code() int

Code gets the status code for the list scopes system o k response

func (*ListScopesSystemOK) Error

func (o *ListScopesSystemOK) Error() string

func (*ListScopesSystemOK) GetPayload

func (o *ListScopesSystemOK) GetPayload() *models.ScopesWithServices

func (*ListScopesSystemOK) IsClientError

func (o *ListScopesSystemOK) IsClientError() bool

IsClientError returns true when this list scopes system o k response has a 4xx status code

func (*ListScopesSystemOK) IsCode

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

IsCode returns true when this list scopes system o k response a status code equal to that given

func (*ListScopesSystemOK) IsRedirect

func (o *ListScopesSystemOK) IsRedirect() bool

IsRedirect returns true when this list scopes system o k response has a 3xx status code

func (*ListScopesSystemOK) IsServerError

func (o *ListScopesSystemOK) IsServerError() bool

IsServerError returns true when this list scopes system o k response has a 5xx status code

func (*ListScopesSystemOK) IsSuccess

func (o *ListScopesSystemOK) IsSuccess() bool

IsSuccess returns true when this list scopes system o k response has a 2xx status code

func (*ListScopesSystemOK) String

func (o *ListScopesSystemOK) String() string

type ListScopesSystemParams

type ListScopesSystemParams struct {

	/* Wid.

	   Workspace id

	   Default: "default"
	*/
	Wid string

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

ListScopesSystemParams contains all the parameters to send to the API endpoint

for the list scopes system operation.

Typically these are written to a http.Request.

func NewListScopesSystemParams

func NewListScopesSystemParams() *ListScopesSystemParams

NewListScopesSystemParams creates a new ListScopesSystemParams 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 NewListScopesSystemParamsWithContext

func NewListScopesSystemParamsWithContext(ctx context.Context) *ListScopesSystemParams

NewListScopesSystemParamsWithContext creates a new ListScopesSystemParams object with the ability to set a context for a request.

func NewListScopesSystemParamsWithHTTPClient

func NewListScopesSystemParamsWithHTTPClient(client *http.Client) *ListScopesSystemParams

NewListScopesSystemParamsWithHTTPClient creates a new ListScopesSystemParams object with the ability to set a custom HTTPClient for a request.

func NewListScopesSystemParamsWithTimeout

func NewListScopesSystemParamsWithTimeout(timeout time.Duration) *ListScopesSystemParams

NewListScopesSystemParamsWithTimeout creates a new ListScopesSystemParams object with the ability to set a timeout on a request.

func (*ListScopesSystemParams) SetContext

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

SetContext adds the context to the list scopes system params

func (*ListScopesSystemParams) SetDefaults

func (o *ListScopesSystemParams) SetDefaults()

SetDefaults hydrates default values in the list scopes system params (not the query body).

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

func (*ListScopesSystemParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the list scopes system params

func (*ListScopesSystemParams) SetTimeout

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

SetTimeout adds the timeout to the list scopes system params

func (*ListScopesSystemParams) SetWid

func (o *ListScopesSystemParams) SetWid(wid string)

SetWid adds the wid to the list scopes system params

func (*ListScopesSystemParams) WithContext

WithContext adds the context to the list scopes system params

func (*ListScopesSystemParams) WithDefaults

WithDefaults hydrates default values in the list scopes system params (not the query body).

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

func (*ListScopesSystemParams) WithHTTPClient

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

WithHTTPClient adds the HTTPClient to the list scopes system params

func (*ListScopesSystemParams) WithTimeout

WithTimeout adds the timeout to the list scopes system params

func (*ListScopesSystemParams) WithWid

WithWid adds the wid to the list scopes system params

func (*ListScopesSystemParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type ListScopesSystemReader

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

ListScopesSystemReader is a Reader for the ListScopesSystem structure.

func (*ListScopesSystemReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type ListScopesSystemTooManyRequests

type ListScopesSystemTooManyRequests struct {
	Payload *models.Error
}

ListScopesSystemTooManyRequests describes a response with status code 429, with default header values.

Too many requests

func NewListScopesSystemTooManyRequests

func NewListScopesSystemTooManyRequests() *ListScopesSystemTooManyRequests

NewListScopesSystemTooManyRequests creates a ListScopesSystemTooManyRequests with default headers values

func (*ListScopesSystemTooManyRequests) Code

Code gets the status code for the list scopes system too many requests response

func (*ListScopesSystemTooManyRequests) Error

func (*ListScopesSystemTooManyRequests) GetPayload

func (o *ListScopesSystemTooManyRequests) GetPayload() *models.Error

func (*ListScopesSystemTooManyRequests) IsClientError

func (o *ListScopesSystemTooManyRequests) IsClientError() bool

IsClientError returns true when this list scopes system too many requests response has a 4xx status code

func (*ListScopesSystemTooManyRequests) IsCode

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

IsCode returns true when this list scopes system too many requests response a status code equal to that given

func (*ListScopesSystemTooManyRequests) IsRedirect

func (o *ListScopesSystemTooManyRequests) IsRedirect() bool

IsRedirect returns true when this list scopes system too many requests response has a 3xx status code

func (*ListScopesSystemTooManyRequests) IsServerError

func (o *ListScopesSystemTooManyRequests) IsServerError() bool

IsServerError returns true when this list scopes system too many requests response has a 5xx status code

func (*ListScopesSystemTooManyRequests) IsSuccess

func (o *ListScopesSystemTooManyRequests) IsSuccess() bool

IsSuccess returns true when this list scopes system too many requests response has a 2xx status code

func (*ListScopesSystemTooManyRequests) String

type ListScopesSystemUnauthorized

type ListScopesSystemUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewListScopesSystemUnauthorized

func NewListScopesSystemUnauthorized() *ListScopesSystemUnauthorized

NewListScopesSystemUnauthorized creates a ListScopesSystemUnauthorized with default headers values

func (*ListScopesSystemUnauthorized) Code

Code gets the status code for the list scopes system unauthorized response

func (*ListScopesSystemUnauthorized) Error

func (*ListScopesSystemUnauthorized) GetPayload

func (o *ListScopesSystemUnauthorized) GetPayload() *models.Error

func (*ListScopesSystemUnauthorized) IsClientError

func (o *ListScopesSystemUnauthorized) IsClientError() bool

IsClientError returns true when this list scopes system unauthorized response has a 4xx status code

func (*ListScopesSystemUnauthorized) IsCode

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

IsCode returns true when this list scopes system unauthorized response a status code equal to that given

func (*ListScopesSystemUnauthorized) IsRedirect

func (o *ListScopesSystemUnauthorized) IsRedirect() bool

IsRedirect returns true when this list scopes system unauthorized response has a 3xx status code

func (*ListScopesSystemUnauthorized) IsServerError

func (o *ListScopesSystemUnauthorized) IsServerError() bool

IsServerError returns true when this list scopes system unauthorized response has a 5xx status code

func (*ListScopesSystemUnauthorized) IsSuccess

func (o *ListScopesSystemUnauthorized) IsSuccess() bool

IsSuccess returns true when this list scopes system unauthorized response has a 2xx status code

func (*ListScopesSystemUnauthorized) String

Jump to

Keyboard shortcuts

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