environment

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 environment API

func (*Client) GetDeveloperEnvironment

func (a *Client) GetDeveloperEnvironment(params *GetDeveloperEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeveloperEnvironmentOK, error)

GetDeveloperEnvironment gets environment

Get environment settings.

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 {
	GetDeveloperEnvironment(params *GetDeveloperEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetDeveloperEnvironmentOK, 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 environment API client.

type GetDeveloperEnvironmentForbidden

type GetDeveloperEnvironmentForbidden struct {
	Payload *models.Error
}

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

Forbidden

func NewGetDeveloperEnvironmentForbidden

func NewGetDeveloperEnvironmentForbidden() *GetDeveloperEnvironmentForbidden

NewGetDeveloperEnvironmentForbidden creates a GetDeveloperEnvironmentForbidden with default headers values

func (*GetDeveloperEnvironmentForbidden) Code

Code gets the status code for the get developer environment forbidden response

func (*GetDeveloperEnvironmentForbidden) Error

func (*GetDeveloperEnvironmentForbidden) GetPayload

func (*GetDeveloperEnvironmentForbidden) IsClientError

func (o *GetDeveloperEnvironmentForbidden) IsClientError() bool

IsClientError returns true when this get developer environment forbidden response has a 4xx status code

func (*GetDeveloperEnvironmentForbidden) IsCode

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

IsCode returns true when this get developer environment forbidden response a status code equal to that given

func (*GetDeveloperEnvironmentForbidden) IsRedirect

func (o *GetDeveloperEnvironmentForbidden) IsRedirect() bool

IsRedirect returns true when this get developer environment forbidden response has a 3xx status code

func (*GetDeveloperEnvironmentForbidden) IsServerError

func (o *GetDeveloperEnvironmentForbidden) IsServerError() bool

IsServerError returns true when this get developer environment forbidden response has a 5xx status code

func (*GetDeveloperEnvironmentForbidden) IsSuccess

func (o *GetDeveloperEnvironmentForbidden) IsSuccess() bool

IsSuccess returns true when this get developer environment forbidden response has a 2xx status code

func (*GetDeveloperEnvironmentForbidden) String

type GetDeveloperEnvironmentOK

type GetDeveloperEnvironmentOK struct {
	Payload *models.DeveloperEnvironment
}

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

Developer environment

func NewGetDeveloperEnvironmentOK

func NewGetDeveloperEnvironmentOK() *GetDeveloperEnvironmentOK

NewGetDeveloperEnvironmentOK creates a GetDeveloperEnvironmentOK with default headers values

func (*GetDeveloperEnvironmentOK) Code

func (o *GetDeveloperEnvironmentOK) Code() int

Code gets the status code for the get developer environment o k response

func (*GetDeveloperEnvironmentOK) Error

func (o *GetDeveloperEnvironmentOK) Error() string

func (*GetDeveloperEnvironmentOK) GetPayload

func (*GetDeveloperEnvironmentOK) IsClientError

func (o *GetDeveloperEnvironmentOK) IsClientError() bool

IsClientError returns true when this get developer environment o k response has a 4xx status code

func (*GetDeveloperEnvironmentOK) IsCode

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

IsCode returns true when this get developer environment o k response a status code equal to that given

func (*GetDeveloperEnvironmentOK) IsRedirect

func (o *GetDeveloperEnvironmentOK) IsRedirect() bool

IsRedirect returns true when this get developer environment o k response has a 3xx status code

func (*GetDeveloperEnvironmentOK) IsServerError

func (o *GetDeveloperEnvironmentOK) IsServerError() bool

IsServerError returns true when this get developer environment o k response has a 5xx status code

func (*GetDeveloperEnvironmentOK) IsSuccess

func (o *GetDeveloperEnvironmentOK) IsSuccess() bool

IsSuccess returns true when this get developer environment o k response has a 2xx status code

func (*GetDeveloperEnvironmentOK) String

func (o *GetDeveloperEnvironmentOK) String() string

type GetDeveloperEnvironmentParams

type GetDeveloperEnvironmentParams struct {
	Context    context.Context
	HTTPClient *http.Client
	// contains filtered or unexported fields
}

GetDeveloperEnvironmentParams contains all the parameters to send to the API endpoint

for the get developer environment operation.

Typically these are written to a http.Request.

func NewGetDeveloperEnvironmentParams

func NewGetDeveloperEnvironmentParams() *GetDeveloperEnvironmentParams

NewGetDeveloperEnvironmentParams creates a new GetDeveloperEnvironmentParams 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 NewGetDeveloperEnvironmentParamsWithContext

func NewGetDeveloperEnvironmentParamsWithContext(ctx context.Context) *GetDeveloperEnvironmentParams

NewGetDeveloperEnvironmentParamsWithContext creates a new GetDeveloperEnvironmentParams object with the ability to set a context for a request.

func NewGetDeveloperEnvironmentParamsWithHTTPClient

func NewGetDeveloperEnvironmentParamsWithHTTPClient(client *http.Client) *GetDeveloperEnvironmentParams

NewGetDeveloperEnvironmentParamsWithHTTPClient creates a new GetDeveloperEnvironmentParams object with the ability to set a custom HTTPClient for a request.

func NewGetDeveloperEnvironmentParamsWithTimeout

func NewGetDeveloperEnvironmentParamsWithTimeout(timeout time.Duration) *GetDeveloperEnvironmentParams

NewGetDeveloperEnvironmentParamsWithTimeout creates a new GetDeveloperEnvironmentParams object with the ability to set a timeout on a request.

func (*GetDeveloperEnvironmentParams) SetContext

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

SetContext adds the context to the get developer environment params

func (*GetDeveloperEnvironmentParams) SetDefaults

func (o *GetDeveloperEnvironmentParams) SetDefaults()

SetDefaults hydrates default values in the get developer environment params (not the query body).

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

func (*GetDeveloperEnvironmentParams) SetHTTPClient

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

SetHTTPClient adds the HTTPClient to the get developer environment params

func (*GetDeveloperEnvironmentParams) SetTimeout

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

SetTimeout adds the timeout to the get developer environment params

func (*GetDeveloperEnvironmentParams) WithContext

WithContext adds the context to the get developer environment params

func (*GetDeveloperEnvironmentParams) WithDefaults

WithDefaults hydrates default values in the get developer environment params (not the query body).

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

func (*GetDeveloperEnvironmentParams) WithHTTPClient

WithHTTPClient adds the HTTPClient to the get developer environment params

func (*GetDeveloperEnvironmentParams) WithTimeout

WithTimeout adds the timeout to the get developer environment params

func (*GetDeveloperEnvironmentParams) WriteToRequest

WriteToRequest writes these params to a swagger request

type GetDeveloperEnvironmentReader

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

GetDeveloperEnvironmentReader is a Reader for the GetDeveloperEnvironment structure.

func (*GetDeveloperEnvironmentReader) ReadResponse

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

ReadResponse reads a server response into the received o.

type GetDeveloperEnvironmentTooManyRequests

type GetDeveloperEnvironmentTooManyRequests struct {
	Payload *models.Error
}

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

Too many requests

func NewGetDeveloperEnvironmentTooManyRequests

func NewGetDeveloperEnvironmentTooManyRequests() *GetDeveloperEnvironmentTooManyRequests

NewGetDeveloperEnvironmentTooManyRequests creates a GetDeveloperEnvironmentTooManyRequests with default headers values

func (*GetDeveloperEnvironmentTooManyRequests) Code

Code gets the status code for the get developer environment too many requests response

func (*GetDeveloperEnvironmentTooManyRequests) Error

func (*GetDeveloperEnvironmentTooManyRequests) GetPayload

func (*GetDeveloperEnvironmentTooManyRequests) IsClientError

func (o *GetDeveloperEnvironmentTooManyRequests) IsClientError() bool

IsClientError returns true when this get developer environment too many requests response has a 4xx status code

func (*GetDeveloperEnvironmentTooManyRequests) IsCode

IsCode returns true when this get developer environment too many requests response a status code equal to that given

func (*GetDeveloperEnvironmentTooManyRequests) IsRedirect

IsRedirect returns true when this get developer environment too many requests response has a 3xx status code

func (*GetDeveloperEnvironmentTooManyRequests) IsServerError

func (o *GetDeveloperEnvironmentTooManyRequests) IsServerError() bool

IsServerError returns true when this get developer environment too many requests response has a 5xx status code

func (*GetDeveloperEnvironmentTooManyRequests) IsSuccess

IsSuccess returns true when this get developer environment too many requests response has a 2xx status code

func (*GetDeveloperEnvironmentTooManyRequests) String

type GetDeveloperEnvironmentUnauthorized

type GetDeveloperEnvironmentUnauthorized struct {
	Payload *models.Error
}

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

Unauthorized

func NewGetDeveloperEnvironmentUnauthorized

func NewGetDeveloperEnvironmentUnauthorized() *GetDeveloperEnvironmentUnauthorized

NewGetDeveloperEnvironmentUnauthorized creates a GetDeveloperEnvironmentUnauthorized with default headers values

func (*GetDeveloperEnvironmentUnauthorized) Code

Code gets the status code for the get developer environment unauthorized response

func (*GetDeveloperEnvironmentUnauthorized) Error

func (*GetDeveloperEnvironmentUnauthorized) GetPayload

func (*GetDeveloperEnvironmentUnauthorized) IsClientError

func (o *GetDeveloperEnvironmentUnauthorized) IsClientError() bool

IsClientError returns true when this get developer environment unauthorized response has a 4xx status code

func (*GetDeveloperEnvironmentUnauthorized) IsCode

IsCode returns true when this get developer environment unauthorized response a status code equal to that given

func (*GetDeveloperEnvironmentUnauthorized) IsRedirect

func (o *GetDeveloperEnvironmentUnauthorized) IsRedirect() bool

IsRedirect returns true when this get developer environment unauthorized response has a 3xx status code

func (*GetDeveloperEnvironmentUnauthorized) IsServerError

func (o *GetDeveloperEnvironmentUnauthorized) IsServerError() bool

IsServerError returns true when this get developer environment unauthorized response has a 5xx status code

func (*GetDeveloperEnvironmentUnauthorized) IsSuccess

IsSuccess returns true when this get developer environment unauthorized response has a 2xx status code

func (*GetDeveloperEnvironmentUnauthorized) String

Jump to

Keyboard shortcuts

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