Documentation ¶
Index ¶
- type Client
- type ClientOption
- type ClientService
- type GetPublicEnvironmentForbidden
- func (o *GetPublicEnvironmentForbidden) Code() int
- func (o *GetPublicEnvironmentForbidden) Error() string
- func (o *GetPublicEnvironmentForbidden) GetPayload() *models.Error
- func (o *GetPublicEnvironmentForbidden) IsClientError() bool
- func (o *GetPublicEnvironmentForbidden) IsCode(code int) bool
- func (o *GetPublicEnvironmentForbidden) IsRedirect() bool
- func (o *GetPublicEnvironmentForbidden) IsServerError() bool
- func (o *GetPublicEnvironmentForbidden) IsSuccess() bool
- func (o *GetPublicEnvironmentForbidden) String() string
- type GetPublicEnvironmentOK
- func (o *GetPublicEnvironmentOK) Code() int
- func (o *GetPublicEnvironmentOK) Error() string
- func (o *GetPublicEnvironmentOK) GetPayload() *models.PublicEnvironment
- func (o *GetPublicEnvironmentOK) IsClientError() bool
- func (o *GetPublicEnvironmentOK) IsCode(code int) bool
- func (o *GetPublicEnvironmentOK) IsRedirect() bool
- func (o *GetPublicEnvironmentOK) IsServerError() bool
- func (o *GetPublicEnvironmentOK) IsSuccess() bool
- func (o *GetPublicEnvironmentOK) String() string
- type GetPublicEnvironmentParams
- func NewGetPublicEnvironmentParams() *GetPublicEnvironmentParams
- func NewGetPublicEnvironmentParamsWithContext(ctx context.Context) *GetPublicEnvironmentParams
- func NewGetPublicEnvironmentParamsWithHTTPClient(client *http.Client) *GetPublicEnvironmentParams
- func NewGetPublicEnvironmentParamsWithTimeout(timeout time.Duration) *GetPublicEnvironmentParams
- func (o *GetPublicEnvironmentParams) SetContext(ctx context.Context)
- func (o *GetPublicEnvironmentParams) SetDefaults()
- func (o *GetPublicEnvironmentParams) SetHTTPClient(client *http.Client)
- func (o *GetPublicEnvironmentParams) SetTimeout(timeout time.Duration)
- func (o *GetPublicEnvironmentParams) WithContext(ctx context.Context) *GetPublicEnvironmentParams
- func (o *GetPublicEnvironmentParams) WithDefaults() *GetPublicEnvironmentParams
- func (o *GetPublicEnvironmentParams) WithHTTPClient(client *http.Client) *GetPublicEnvironmentParams
- func (o *GetPublicEnvironmentParams) WithTimeout(timeout time.Duration) *GetPublicEnvironmentParams
- func (o *GetPublicEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetPublicEnvironmentReader
- type GetPublicEnvironmentTooManyRequests
- func (o *GetPublicEnvironmentTooManyRequests) Code() int
- func (o *GetPublicEnvironmentTooManyRequests) Error() string
- func (o *GetPublicEnvironmentTooManyRequests) GetPayload() *models.Error
- func (o *GetPublicEnvironmentTooManyRequests) IsClientError() bool
- func (o *GetPublicEnvironmentTooManyRequests) IsCode(code int) bool
- func (o *GetPublicEnvironmentTooManyRequests) IsRedirect() bool
- func (o *GetPublicEnvironmentTooManyRequests) IsServerError() bool
- func (o *GetPublicEnvironmentTooManyRequests) IsSuccess() bool
- func (o *GetPublicEnvironmentTooManyRequests) String() string
- type GetPublicEnvironmentUnauthorized
- func (o *GetPublicEnvironmentUnauthorized) Code() int
- func (o *GetPublicEnvironmentUnauthorized) Error() string
- func (o *GetPublicEnvironmentUnauthorized) GetPayload() *models.Error
- func (o *GetPublicEnvironmentUnauthorized) IsClientError() bool
- func (o *GetPublicEnvironmentUnauthorized) IsCode(code int) bool
- func (o *GetPublicEnvironmentUnauthorized) IsRedirect() bool
- func (o *GetPublicEnvironmentUnauthorized) IsServerError() bool
- func (o *GetPublicEnvironmentUnauthorized) IsSuccess() bool
- func (o *GetPublicEnvironmentUnauthorized) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for environment API
func (*Client) GetPublicEnvironment ¶
func (a *Client) GetPublicEnvironment(params *GetPublicEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPublicEnvironmentOK, error)
GetPublicEnvironment gets environment Get environment settings.
NOTE: this API may change any time, and it's meant for internal use only.
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 { GetPublicEnvironment(params *GetPublicEnvironmentParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetPublicEnvironmentOK, 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 GetPublicEnvironmentForbidden ¶
GetPublicEnvironmentForbidden describes a response with status code 403, with default header values.
Forbidden
func NewGetPublicEnvironmentForbidden ¶
func NewGetPublicEnvironmentForbidden() *GetPublicEnvironmentForbidden
NewGetPublicEnvironmentForbidden creates a GetPublicEnvironmentForbidden with default headers values
func (*GetPublicEnvironmentForbidden) Code ¶
func (o *GetPublicEnvironmentForbidden) Code() int
Code gets the status code for the get public environment forbidden response
func (*GetPublicEnvironmentForbidden) Error ¶
func (o *GetPublicEnvironmentForbidden) Error() string
func (*GetPublicEnvironmentForbidden) GetPayload ¶
func (o *GetPublicEnvironmentForbidden) GetPayload() *models.Error
func (*GetPublicEnvironmentForbidden) IsClientError ¶
func (o *GetPublicEnvironmentForbidden) IsClientError() bool
IsClientError returns true when this get public environment forbidden response has a 4xx status code
func (*GetPublicEnvironmentForbidden) IsCode ¶
func (o *GetPublicEnvironmentForbidden) IsCode(code int) bool
IsCode returns true when this get public environment forbidden response a status code equal to that given
func (*GetPublicEnvironmentForbidden) IsRedirect ¶
func (o *GetPublicEnvironmentForbidden) IsRedirect() bool
IsRedirect returns true when this get public environment forbidden response has a 3xx status code
func (*GetPublicEnvironmentForbidden) IsServerError ¶
func (o *GetPublicEnvironmentForbidden) IsServerError() bool
IsServerError returns true when this get public environment forbidden response has a 5xx status code
func (*GetPublicEnvironmentForbidden) IsSuccess ¶
func (o *GetPublicEnvironmentForbidden) IsSuccess() bool
IsSuccess returns true when this get public environment forbidden response has a 2xx status code
func (*GetPublicEnvironmentForbidden) String ¶
func (o *GetPublicEnvironmentForbidden) String() string
type GetPublicEnvironmentOK ¶
type GetPublicEnvironmentOK struct {
Payload *models.PublicEnvironment
}
GetPublicEnvironmentOK describes a response with status code 200, with default header values.
Public environment
func NewGetPublicEnvironmentOK ¶
func NewGetPublicEnvironmentOK() *GetPublicEnvironmentOK
NewGetPublicEnvironmentOK creates a GetPublicEnvironmentOK with default headers values
func (*GetPublicEnvironmentOK) Code ¶
func (o *GetPublicEnvironmentOK) Code() int
Code gets the status code for the get public environment o k response
func (*GetPublicEnvironmentOK) Error ¶
func (o *GetPublicEnvironmentOK) Error() string
func (*GetPublicEnvironmentOK) GetPayload ¶
func (o *GetPublicEnvironmentOK) GetPayload() *models.PublicEnvironment
func (*GetPublicEnvironmentOK) IsClientError ¶
func (o *GetPublicEnvironmentOK) IsClientError() bool
IsClientError returns true when this get public environment o k response has a 4xx status code
func (*GetPublicEnvironmentOK) IsCode ¶
func (o *GetPublicEnvironmentOK) IsCode(code int) bool
IsCode returns true when this get public environment o k response a status code equal to that given
func (*GetPublicEnvironmentOK) IsRedirect ¶
func (o *GetPublicEnvironmentOK) IsRedirect() bool
IsRedirect returns true when this get public environment o k response has a 3xx status code
func (*GetPublicEnvironmentOK) IsServerError ¶
func (o *GetPublicEnvironmentOK) IsServerError() bool
IsServerError returns true when this get public environment o k response has a 5xx status code
func (*GetPublicEnvironmentOK) IsSuccess ¶
func (o *GetPublicEnvironmentOK) IsSuccess() bool
IsSuccess returns true when this get public environment o k response has a 2xx status code
func (*GetPublicEnvironmentOK) String ¶
func (o *GetPublicEnvironmentOK) String() string
type GetPublicEnvironmentParams ¶
type GetPublicEnvironmentParams struct { Context context.Context HTTPClient *http.Client // contains filtered or unexported fields }
GetPublicEnvironmentParams contains all the parameters to send to the API endpoint
for the get public environment operation. Typically these are written to a http.Request.
func NewGetPublicEnvironmentParams ¶
func NewGetPublicEnvironmentParams() *GetPublicEnvironmentParams
NewGetPublicEnvironmentParams creates a new GetPublicEnvironmentParams 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 NewGetPublicEnvironmentParamsWithContext ¶
func NewGetPublicEnvironmentParamsWithContext(ctx context.Context) *GetPublicEnvironmentParams
NewGetPublicEnvironmentParamsWithContext creates a new GetPublicEnvironmentParams object with the ability to set a context for a request.
func NewGetPublicEnvironmentParamsWithHTTPClient ¶
func NewGetPublicEnvironmentParamsWithHTTPClient(client *http.Client) *GetPublicEnvironmentParams
NewGetPublicEnvironmentParamsWithHTTPClient creates a new GetPublicEnvironmentParams object with the ability to set a custom HTTPClient for a request.
func NewGetPublicEnvironmentParamsWithTimeout ¶
func NewGetPublicEnvironmentParamsWithTimeout(timeout time.Duration) *GetPublicEnvironmentParams
NewGetPublicEnvironmentParamsWithTimeout creates a new GetPublicEnvironmentParams object with the ability to set a timeout on a request.
func (*GetPublicEnvironmentParams) SetContext ¶
func (o *GetPublicEnvironmentParams) SetContext(ctx context.Context)
SetContext adds the context to the get public environment params
func (*GetPublicEnvironmentParams) SetDefaults ¶
func (o *GetPublicEnvironmentParams) SetDefaults()
SetDefaults hydrates default values in the get public environment params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicEnvironmentParams) SetHTTPClient ¶
func (o *GetPublicEnvironmentParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get public environment params
func (*GetPublicEnvironmentParams) SetTimeout ¶
func (o *GetPublicEnvironmentParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get public environment params
func (*GetPublicEnvironmentParams) WithContext ¶
func (o *GetPublicEnvironmentParams) WithContext(ctx context.Context) *GetPublicEnvironmentParams
WithContext adds the context to the get public environment params
func (*GetPublicEnvironmentParams) WithDefaults ¶
func (o *GetPublicEnvironmentParams) WithDefaults() *GetPublicEnvironmentParams
WithDefaults hydrates default values in the get public environment params (not the query body).
All values with no default are reset to their zero value.
func (*GetPublicEnvironmentParams) WithHTTPClient ¶
func (o *GetPublicEnvironmentParams) WithHTTPClient(client *http.Client) *GetPublicEnvironmentParams
WithHTTPClient adds the HTTPClient to the get public environment params
func (*GetPublicEnvironmentParams) WithTimeout ¶
func (o *GetPublicEnvironmentParams) WithTimeout(timeout time.Duration) *GetPublicEnvironmentParams
WithTimeout adds the timeout to the get public environment params
func (*GetPublicEnvironmentParams) WriteToRequest ¶
func (o *GetPublicEnvironmentParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetPublicEnvironmentReader ¶
type GetPublicEnvironmentReader struct {
// contains filtered or unexported fields
}
GetPublicEnvironmentReader is a Reader for the GetPublicEnvironment structure.
func (*GetPublicEnvironmentReader) ReadResponse ¶
func (o *GetPublicEnvironmentReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetPublicEnvironmentTooManyRequests ¶
GetPublicEnvironmentTooManyRequests describes a response with status code 429, with default header values.
Too many requests
func NewGetPublicEnvironmentTooManyRequests ¶
func NewGetPublicEnvironmentTooManyRequests() *GetPublicEnvironmentTooManyRequests
NewGetPublicEnvironmentTooManyRequests creates a GetPublicEnvironmentTooManyRequests with default headers values
func (*GetPublicEnvironmentTooManyRequests) Code ¶
func (o *GetPublicEnvironmentTooManyRequests) Code() int
Code gets the status code for the get public environment too many requests response
func (*GetPublicEnvironmentTooManyRequests) Error ¶
func (o *GetPublicEnvironmentTooManyRequests) Error() string
func (*GetPublicEnvironmentTooManyRequests) GetPayload ¶
func (o *GetPublicEnvironmentTooManyRequests) GetPayload() *models.Error
func (*GetPublicEnvironmentTooManyRequests) IsClientError ¶
func (o *GetPublicEnvironmentTooManyRequests) IsClientError() bool
IsClientError returns true when this get public environment too many requests response has a 4xx status code
func (*GetPublicEnvironmentTooManyRequests) IsCode ¶
func (o *GetPublicEnvironmentTooManyRequests) IsCode(code int) bool
IsCode returns true when this get public environment too many requests response a status code equal to that given
func (*GetPublicEnvironmentTooManyRequests) IsRedirect ¶
func (o *GetPublicEnvironmentTooManyRequests) IsRedirect() bool
IsRedirect returns true when this get public environment too many requests response has a 3xx status code
func (*GetPublicEnvironmentTooManyRequests) IsServerError ¶
func (o *GetPublicEnvironmentTooManyRequests) IsServerError() bool
IsServerError returns true when this get public environment too many requests response has a 5xx status code
func (*GetPublicEnvironmentTooManyRequests) IsSuccess ¶
func (o *GetPublicEnvironmentTooManyRequests) IsSuccess() bool
IsSuccess returns true when this get public environment too many requests response has a 2xx status code
func (*GetPublicEnvironmentTooManyRequests) String ¶
func (o *GetPublicEnvironmentTooManyRequests) String() string
type GetPublicEnvironmentUnauthorized ¶
type GetPublicEnvironmentUnauthorized struct {
}GetPublicEnvironmentUnauthorized describes a response with status code 401, with default header values.
Unauthorized
func NewGetPublicEnvironmentUnauthorized ¶
func NewGetPublicEnvironmentUnauthorized() *GetPublicEnvironmentUnauthorized
NewGetPublicEnvironmentUnauthorized creates a GetPublicEnvironmentUnauthorized with default headers values
func (*GetPublicEnvironmentUnauthorized) Code ¶
func (o *GetPublicEnvironmentUnauthorized) Code() int
Code gets the status code for the get public environment unauthorized response
func (*GetPublicEnvironmentUnauthorized) Error ¶
func (o *GetPublicEnvironmentUnauthorized) Error() string
func (*GetPublicEnvironmentUnauthorized) GetPayload ¶
func (o *GetPublicEnvironmentUnauthorized) GetPayload() *models.Error
func (*GetPublicEnvironmentUnauthorized) IsClientError ¶
func (o *GetPublicEnvironmentUnauthorized) IsClientError() bool
IsClientError returns true when this get public environment unauthorized response has a 4xx status code
func (*GetPublicEnvironmentUnauthorized) IsCode ¶
func (o *GetPublicEnvironmentUnauthorized) IsCode(code int) bool
IsCode returns true when this get public environment unauthorized response a status code equal to that given
func (*GetPublicEnvironmentUnauthorized) IsRedirect ¶
func (o *GetPublicEnvironmentUnauthorized) IsRedirect() bool
IsRedirect returns true when this get public environment unauthorized response has a 3xx status code
func (*GetPublicEnvironmentUnauthorized) IsServerError ¶
func (o *GetPublicEnvironmentUnauthorized) IsServerError() bool
IsServerError returns true when this get public environment unauthorized response has a 5xx status code
func (*GetPublicEnvironmentUnauthorized) IsSuccess ¶
func (o *GetPublicEnvironmentUnauthorized) IsSuccess() bool
IsSuccess returns true when this get public environment unauthorized response has a 2xx status code
func (*GetPublicEnvironmentUnauthorized) String ¶
func (o *GetPublicEnvironmentUnauthorized) String() string