Documentation
¶
Index ¶
- func WithAcceptApplicationJSON(r *runtime.ClientOperation)
- func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
- func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
- type Client
- func (a *Client) GetProjEnvLogEntries(params *GetProjEnvLogEntriesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjEnvLogEntriesOK, error)
- func (a *Client) GetProjEnvLogSources(params *GetProjEnvLogSourcesParams, authInfo runtime.ClientAuthInfoWriter, ...) (*GetProjEnvLogSourcesOK, error)
- func (a *Client) SetTransport(transport runtime.ClientTransport)
- type ClientOption
- type ClientService
- type GetProjEnvLogEntriesDefault
- func (o *GetProjEnvLogEntriesDefault) Code() int
- func (o *GetProjEnvLogEntriesDefault) Error() string
- func (o *GetProjEnvLogEntriesDefault) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogEntriesDefault) IsClientError() bool
- func (o *GetProjEnvLogEntriesDefault) IsCode(code int) bool
- func (o *GetProjEnvLogEntriesDefault) IsRedirect() bool
- func (o *GetProjEnvLogEntriesDefault) IsServerError() bool
- func (o *GetProjEnvLogEntriesDefault) IsSuccess() bool
- func (o *GetProjEnvLogEntriesDefault) String() string
- type GetProjEnvLogEntriesForbidden
- func (o *GetProjEnvLogEntriesForbidden) Code() int
- func (o *GetProjEnvLogEntriesForbidden) Error() string
- func (o *GetProjEnvLogEntriesForbidden) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogEntriesForbidden) IsClientError() bool
- func (o *GetProjEnvLogEntriesForbidden) IsCode(code int) bool
- func (o *GetProjEnvLogEntriesForbidden) IsRedirect() bool
- func (o *GetProjEnvLogEntriesForbidden) IsServerError() bool
- func (o *GetProjEnvLogEntriesForbidden) IsSuccess() bool
- func (o *GetProjEnvLogEntriesForbidden) String() string
- type GetProjEnvLogEntriesNotFound
- func (o *GetProjEnvLogEntriesNotFound) Code() int
- func (o *GetProjEnvLogEntriesNotFound) Error() string
- func (o *GetProjEnvLogEntriesNotFound) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogEntriesNotFound) IsClientError() bool
- func (o *GetProjEnvLogEntriesNotFound) IsCode(code int) bool
- func (o *GetProjEnvLogEntriesNotFound) IsRedirect() bool
- func (o *GetProjEnvLogEntriesNotFound) IsServerError() bool
- func (o *GetProjEnvLogEntriesNotFound) IsSuccess() bool
- func (o *GetProjEnvLogEntriesNotFound) String() string
- type GetProjEnvLogEntriesOK
- func (o *GetProjEnvLogEntriesOK) Code() int
- func (o *GetProjEnvLogEntriesOK) Error() string
- func (o *GetProjEnvLogEntriesOK) GetPayload() *GetProjEnvLogEntriesOKBody
- func (o *GetProjEnvLogEntriesOK) IsClientError() bool
- func (o *GetProjEnvLogEntriesOK) IsCode(code int) bool
- func (o *GetProjEnvLogEntriesOK) IsRedirect() bool
- func (o *GetProjEnvLogEntriesOK) IsServerError() bool
- func (o *GetProjEnvLogEntriesOK) IsSuccess() bool
- func (o *GetProjEnvLogEntriesOK) String() string
- type GetProjEnvLogEntriesOKBody
- func (o *GetProjEnvLogEntriesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjEnvLogEntriesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetProjEnvLogEntriesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetProjEnvLogEntriesOKBody) Validate(formats strfmt.Registry) error
- type GetProjEnvLogEntriesParams
- func NewGetProjEnvLogEntriesParams() *GetProjEnvLogEntriesParams
- func NewGetProjEnvLogEntriesParamsWithContext(ctx context.Context) *GetProjEnvLogEntriesParams
- func NewGetProjEnvLogEntriesParamsWithHTTPClient(client *http.Client) *GetProjEnvLogEntriesParams
- func NewGetProjEnvLogEntriesParamsWithTimeout(timeout time.Duration) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) SetBegin(begin *uint64)
- func (o *GetProjEnvLogEntriesParams) SetContext(ctx context.Context)
- func (o *GetProjEnvLogEntriesParams) SetDefaults()
- func (o *GetProjEnvLogEntriesParams) SetEnd(end *uint64)
- func (o *GetProjEnvLogEntriesParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *GetProjEnvLogEntriesParams) SetHTTPClient(client *http.Client)
- func (o *GetProjEnvLogEntriesParams) SetLogSourceID(logSourceID string)
- func (o *GetProjEnvLogEntriesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetProjEnvLogEntriesParams) SetProjectCanonical(projectCanonical string)
- func (o *GetProjEnvLogEntriesParams) SetQuery(query *string)
- func (o *GetProjEnvLogEntriesParams) SetTimeout(timeout time.Duration)
- func (o *GetProjEnvLogEntriesParams) WithBegin(begin *uint64) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithContext(ctx context.Context) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithDefaults() *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithEnd(end *uint64) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithEnvironmentCanonical(environmentCanonical string) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithHTTPClient(client *http.Client) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithLogSourceID(logSourceID string) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithOrganizationCanonical(organizationCanonical string) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithProjectCanonical(projectCanonical string) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithQuery(query *string) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WithTimeout(timeout time.Duration) *GetProjEnvLogEntriesParams
- func (o *GetProjEnvLogEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjEnvLogEntriesReader
- type GetProjEnvLogEntriesUnprocessableEntity
- func (o *GetProjEnvLogEntriesUnprocessableEntity) Code() int
- func (o *GetProjEnvLogEntriesUnprocessableEntity) Error() string
- func (o *GetProjEnvLogEntriesUnprocessableEntity) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogEntriesUnprocessableEntity) IsClientError() bool
- func (o *GetProjEnvLogEntriesUnprocessableEntity) IsCode(code int) bool
- func (o *GetProjEnvLogEntriesUnprocessableEntity) IsRedirect() bool
- func (o *GetProjEnvLogEntriesUnprocessableEntity) IsServerError() bool
- func (o *GetProjEnvLogEntriesUnprocessableEntity) IsSuccess() bool
- func (o *GetProjEnvLogEntriesUnprocessableEntity) String() string
- type GetProjEnvLogSourcesDefault
- func (o *GetProjEnvLogSourcesDefault) Code() int
- func (o *GetProjEnvLogSourcesDefault) Error() string
- func (o *GetProjEnvLogSourcesDefault) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogSourcesDefault) IsClientError() bool
- func (o *GetProjEnvLogSourcesDefault) IsCode(code int) bool
- func (o *GetProjEnvLogSourcesDefault) IsRedirect() bool
- func (o *GetProjEnvLogSourcesDefault) IsServerError() bool
- func (o *GetProjEnvLogSourcesDefault) IsSuccess() bool
- func (o *GetProjEnvLogSourcesDefault) String() string
- type GetProjEnvLogSourcesForbidden
- func (o *GetProjEnvLogSourcesForbidden) Code() int
- func (o *GetProjEnvLogSourcesForbidden) Error() string
- func (o *GetProjEnvLogSourcesForbidden) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogSourcesForbidden) IsClientError() bool
- func (o *GetProjEnvLogSourcesForbidden) IsCode(code int) bool
- func (o *GetProjEnvLogSourcesForbidden) IsRedirect() bool
- func (o *GetProjEnvLogSourcesForbidden) IsServerError() bool
- func (o *GetProjEnvLogSourcesForbidden) IsSuccess() bool
- func (o *GetProjEnvLogSourcesForbidden) String() string
- type GetProjEnvLogSourcesNotFound
- func (o *GetProjEnvLogSourcesNotFound) Code() int
- func (o *GetProjEnvLogSourcesNotFound) Error() string
- func (o *GetProjEnvLogSourcesNotFound) GetPayload() *models.ErrorPayload
- func (o *GetProjEnvLogSourcesNotFound) IsClientError() bool
- func (o *GetProjEnvLogSourcesNotFound) IsCode(code int) bool
- func (o *GetProjEnvLogSourcesNotFound) IsRedirect() bool
- func (o *GetProjEnvLogSourcesNotFound) IsServerError() bool
- func (o *GetProjEnvLogSourcesNotFound) IsSuccess() bool
- func (o *GetProjEnvLogSourcesNotFound) String() string
- type GetProjEnvLogSourcesOK
- func (o *GetProjEnvLogSourcesOK) Code() int
- func (o *GetProjEnvLogSourcesOK) Error() string
- func (o *GetProjEnvLogSourcesOK) GetPayload() *GetProjEnvLogSourcesOKBody
- func (o *GetProjEnvLogSourcesOK) IsClientError() bool
- func (o *GetProjEnvLogSourcesOK) IsCode(code int) bool
- func (o *GetProjEnvLogSourcesOK) IsRedirect() bool
- func (o *GetProjEnvLogSourcesOK) IsServerError() bool
- func (o *GetProjEnvLogSourcesOK) IsSuccess() bool
- func (o *GetProjEnvLogSourcesOK) String() string
- type GetProjEnvLogSourcesOKBody
- func (o *GetProjEnvLogSourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (o *GetProjEnvLogSourcesOKBody) MarshalBinary() ([]byte, error)
- func (o *GetProjEnvLogSourcesOKBody) UnmarshalBinary(b []byte) error
- func (o *GetProjEnvLogSourcesOKBody) Validate(formats strfmt.Registry) error
- type GetProjEnvLogSourcesParams
- func NewGetProjEnvLogSourcesParams() *GetProjEnvLogSourcesParams
- func NewGetProjEnvLogSourcesParamsWithContext(ctx context.Context) *GetProjEnvLogSourcesParams
- func NewGetProjEnvLogSourcesParamsWithHTTPClient(client *http.Client) *GetProjEnvLogSourcesParams
- func NewGetProjEnvLogSourcesParamsWithTimeout(timeout time.Duration) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) SetContext(ctx context.Context)
- func (o *GetProjEnvLogSourcesParams) SetDefaults()
- func (o *GetProjEnvLogSourcesParams) SetEnvironmentCanonical(environmentCanonical string)
- func (o *GetProjEnvLogSourcesParams) SetHTTPClient(client *http.Client)
- func (o *GetProjEnvLogSourcesParams) SetOrganizationCanonical(organizationCanonical string)
- func (o *GetProjEnvLogSourcesParams) SetProjectCanonical(projectCanonical string)
- func (o *GetProjEnvLogSourcesParams) SetTimeout(timeout time.Duration)
- func (o *GetProjEnvLogSourcesParams) WithContext(ctx context.Context) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WithDefaults() *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WithEnvironmentCanonical(environmentCanonical string) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WithHTTPClient(client *http.Client) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WithOrganizationCanonical(organizationCanonical string) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WithProjectCanonical(projectCanonical string) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WithTimeout(timeout time.Duration) *GetProjEnvLogSourcesParams
- func (o *GetProjEnvLogSourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
- type GetProjEnvLogSourcesReader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WithAcceptApplicationJSON ¶
func WithAcceptApplicationJSON(r *runtime.ClientOperation)
WithAcceptApplicationJSON sets the Accept header to "application/json".
func WithAcceptApplicationVndCycloidIoV1JSON ¶
func WithAcceptApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithAcceptApplicationVndCycloidIoV1JSON sets the Accept header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationJSON ¶
func WithContentTypeApplicationJSON(r *runtime.ClientOperation)
WithContentTypeApplicationJSON sets the Content-Type header to "application/json".
func WithContentTypeApplicationVndCycloidIoV1JSON ¶
func WithContentTypeApplicationVndCycloidIoV1JSON(r *runtime.ClientOperation)
WithContentTypeApplicationVndCycloidIoV1JSON sets the Content-Type header to "application/vnd.cycloid.io.v1+json".
func WithContentTypeApplicationxWwwFormUrlencoded ¶
func WithContentTypeApplicationxWwwFormUrlencoded(r *runtime.ClientOperation)
WithContentTypeApplicationxWwwFormUrlencoded sets the Content-Type header to "application/x-www-form-urlencoded".
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for organization logs API
func (*Client) GetProjEnvLogEntries ¶
func (a *Client) GetProjEnvLogEntries(params *GetProjEnvLogEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjEnvLogEntriesOK, error)
GetProjEnvLogEntries Get log's entries information of the specified log stream stream which is associated to the project's environment of the specified organization. The log's entries to request can be filtered using the unix timestamp ranges and/or the query as follow - When unix timestamps are defined, they are converted to the specific
query language used by the configured underlying log system (e.g AWS
Cloud Watch, ElasticSearch, etc.) and appended to the query value
respecting the syntax but not checking the content of the query, which
means that if the whole query must be enclosed by curly brackets hence
the query value is enclosed on them, the time range filter will be
added inside not just appended at the end, because otherwise it would
cause wrong syntax; on the other hand, not checking the content means
that if the query contains a timerange filter, the whole query will
contain both and the result will be the one returned by on the
underlying log system, being an error or not.
- When no time range are defined, then the query is used as it has been
send, there is not modification on the query to send to the underlying
log system, hence the result will be the one returned by it.
- If none of the filters (timestamp range and query) are sent, then
a 422 status code will be responded.
- Some constraints are established by the underlying log system, so
depending which one has been configured some parameters may be
required or not.
func (*Client) GetProjEnvLogSources ¶
func (a *Client) GetProjEnvLogSources(params *GetProjEnvLogSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjEnvLogSourcesOK, error)
GetProjEnvLogSources Get the list of sources configured for the specified project's environment of the organization.
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 may be used to customize the behavior of Client methods.
func WithAccept ¶
func WithAccept(mime string) ClientOption
WithAccept allows the client to force the Accept header to negotiate a specific Producer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
func WithContentType ¶
func WithContentType(mime string) ClientOption
WithContentType allows the client to force the Content-Type header to negotiate a specific Consumer from the server.
You may use this option to set arbitrary extensions to your MIME media type.
type ClientService ¶
type ClientService interface {
GetProjEnvLogEntries(params *GetProjEnvLogEntriesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjEnvLogEntriesOK, error)
GetProjEnvLogSources(params *GetProjEnvLogSourcesParams, authInfo runtime.ClientAuthInfoWriter, opts ...ClientOption) (*GetProjEnvLogSourcesOK, 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 organization logs API client.
func NewClientWithBasicAuth ¶
func NewClientWithBasicAuth(host, basePath, scheme, user, password string) ClientService
New creates a new organization logs API client with basic auth credentials. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - user: user for basic authentication header. - password: password for basic authentication header.
func NewClientWithBearerToken ¶
func NewClientWithBearerToken(host, basePath, scheme, bearerToken string) ClientService
New creates a new organization logs API client with a bearer token for authentication. It takes the following parameters: - host: http host (github.com). - basePath: any base path for the API client ("/v1", "/v3"). - scheme: http scheme ("http", "https"). - bearerToken: bearer token for Bearer authentication header.
type GetProjEnvLogEntriesDefault ¶
type GetProjEnvLogEntriesDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetProjEnvLogEntriesDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetProjEnvLogEntriesDefault ¶
func NewGetProjEnvLogEntriesDefault(code int) *GetProjEnvLogEntriesDefault
NewGetProjEnvLogEntriesDefault creates a GetProjEnvLogEntriesDefault with default headers values
func (*GetProjEnvLogEntriesDefault) Code ¶
func (o *GetProjEnvLogEntriesDefault) Code() int
Code gets the status code for the get proj env log entries default response
func (*GetProjEnvLogEntriesDefault) Error ¶
func (o *GetProjEnvLogEntriesDefault) Error() string
func (*GetProjEnvLogEntriesDefault) GetPayload ¶
func (o *GetProjEnvLogEntriesDefault) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogEntriesDefault) IsClientError ¶
func (o *GetProjEnvLogEntriesDefault) IsClientError() bool
IsClientError returns true when this get proj env log entries default response has a 4xx status code
func (*GetProjEnvLogEntriesDefault) IsCode ¶
func (o *GetProjEnvLogEntriesDefault) IsCode(code int) bool
IsCode returns true when this get proj env log entries default response a status code equal to that given
func (*GetProjEnvLogEntriesDefault) IsRedirect ¶
func (o *GetProjEnvLogEntriesDefault) IsRedirect() bool
IsRedirect returns true when this get proj env log entries default response has a 3xx status code
func (*GetProjEnvLogEntriesDefault) IsServerError ¶
func (o *GetProjEnvLogEntriesDefault) IsServerError() bool
IsServerError returns true when this get proj env log entries default response has a 5xx status code
func (*GetProjEnvLogEntriesDefault) IsSuccess ¶
func (o *GetProjEnvLogEntriesDefault) IsSuccess() bool
IsSuccess returns true when this get proj env log entries default response has a 2xx status code
func (*GetProjEnvLogEntriesDefault) String ¶
func (o *GetProjEnvLogEntriesDefault) String() string
type GetProjEnvLogEntriesForbidden ¶
type GetProjEnvLogEntriesForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetProjEnvLogEntriesForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetProjEnvLogEntriesForbidden ¶
func NewGetProjEnvLogEntriesForbidden() *GetProjEnvLogEntriesForbidden
NewGetProjEnvLogEntriesForbidden creates a GetProjEnvLogEntriesForbidden with default headers values
func (*GetProjEnvLogEntriesForbidden) Code ¶
func (o *GetProjEnvLogEntriesForbidden) Code() int
Code gets the status code for the get proj env log entries forbidden response
func (*GetProjEnvLogEntriesForbidden) Error ¶
func (o *GetProjEnvLogEntriesForbidden) Error() string
func (*GetProjEnvLogEntriesForbidden) GetPayload ¶
func (o *GetProjEnvLogEntriesForbidden) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogEntriesForbidden) IsClientError ¶
func (o *GetProjEnvLogEntriesForbidden) IsClientError() bool
IsClientError returns true when this get proj env log entries forbidden response has a 4xx status code
func (*GetProjEnvLogEntriesForbidden) IsCode ¶
func (o *GetProjEnvLogEntriesForbidden) IsCode(code int) bool
IsCode returns true when this get proj env log entries forbidden response a status code equal to that given
func (*GetProjEnvLogEntriesForbidden) IsRedirect ¶
func (o *GetProjEnvLogEntriesForbidden) IsRedirect() bool
IsRedirect returns true when this get proj env log entries forbidden response has a 3xx status code
func (*GetProjEnvLogEntriesForbidden) IsServerError ¶
func (o *GetProjEnvLogEntriesForbidden) IsServerError() bool
IsServerError returns true when this get proj env log entries forbidden response has a 5xx status code
func (*GetProjEnvLogEntriesForbidden) IsSuccess ¶
func (o *GetProjEnvLogEntriesForbidden) IsSuccess() bool
IsSuccess returns true when this get proj env log entries forbidden response has a 2xx status code
func (*GetProjEnvLogEntriesForbidden) String ¶
func (o *GetProjEnvLogEntriesForbidden) String() string
type GetProjEnvLogEntriesNotFound ¶
type GetProjEnvLogEntriesNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetProjEnvLogEntriesNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetProjEnvLogEntriesNotFound ¶
func NewGetProjEnvLogEntriesNotFound() *GetProjEnvLogEntriesNotFound
NewGetProjEnvLogEntriesNotFound creates a GetProjEnvLogEntriesNotFound with default headers values
func (*GetProjEnvLogEntriesNotFound) Code ¶
func (o *GetProjEnvLogEntriesNotFound) Code() int
Code gets the status code for the get proj env log entries not found response
func (*GetProjEnvLogEntriesNotFound) Error ¶
func (o *GetProjEnvLogEntriesNotFound) Error() string
func (*GetProjEnvLogEntriesNotFound) GetPayload ¶
func (o *GetProjEnvLogEntriesNotFound) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogEntriesNotFound) IsClientError ¶
func (o *GetProjEnvLogEntriesNotFound) IsClientError() bool
IsClientError returns true when this get proj env log entries not found response has a 4xx status code
func (*GetProjEnvLogEntriesNotFound) IsCode ¶
func (o *GetProjEnvLogEntriesNotFound) IsCode(code int) bool
IsCode returns true when this get proj env log entries not found response a status code equal to that given
func (*GetProjEnvLogEntriesNotFound) IsRedirect ¶
func (o *GetProjEnvLogEntriesNotFound) IsRedirect() bool
IsRedirect returns true when this get proj env log entries not found response has a 3xx status code
func (*GetProjEnvLogEntriesNotFound) IsServerError ¶
func (o *GetProjEnvLogEntriesNotFound) IsServerError() bool
IsServerError returns true when this get proj env log entries not found response has a 5xx status code
func (*GetProjEnvLogEntriesNotFound) IsSuccess ¶
func (o *GetProjEnvLogEntriesNotFound) IsSuccess() bool
IsSuccess returns true when this get proj env log entries not found response has a 2xx status code
func (*GetProjEnvLogEntriesNotFound) String ¶
func (o *GetProjEnvLogEntriesNotFound) String() string
type GetProjEnvLogEntriesOK ¶
type GetProjEnvLogEntriesOK struct {
Payload *GetProjEnvLogEntriesOKBody
}
GetProjEnvLogEntriesOK describes a response with status code 200, with default header values.
The list of log's entries which are comprehended by the begin and end timestamps and are selected by the optional query.
func NewGetProjEnvLogEntriesOK ¶
func NewGetProjEnvLogEntriesOK() *GetProjEnvLogEntriesOK
NewGetProjEnvLogEntriesOK creates a GetProjEnvLogEntriesOK with default headers values
func (*GetProjEnvLogEntriesOK) Code ¶
func (o *GetProjEnvLogEntriesOK) Code() int
Code gets the status code for the get proj env log entries o k response
func (*GetProjEnvLogEntriesOK) Error ¶
func (o *GetProjEnvLogEntriesOK) Error() string
func (*GetProjEnvLogEntriesOK) GetPayload ¶
func (o *GetProjEnvLogEntriesOK) GetPayload() *GetProjEnvLogEntriesOKBody
func (*GetProjEnvLogEntriesOK) IsClientError ¶
func (o *GetProjEnvLogEntriesOK) IsClientError() bool
IsClientError returns true when this get proj env log entries o k response has a 4xx status code
func (*GetProjEnvLogEntriesOK) IsCode ¶
func (o *GetProjEnvLogEntriesOK) IsCode(code int) bool
IsCode returns true when this get proj env log entries o k response a status code equal to that given
func (*GetProjEnvLogEntriesOK) IsRedirect ¶
func (o *GetProjEnvLogEntriesOK) IsRedirect() bool
IsRedirect returns true when this get proj env log entries o k response has a 3xx status code
func (*GetProjEnvLogEntriesOK) IsServerError ¶
func (o *GetProjEnvLogEntriesOK) IsServerError() bool
IsServerError returns true when this get proj env log entries o k response has a 5xx status code
func (*GetProjEnvLogEntriesOK) IsSuccess ¶
func (o *GetProjEnvLogEntriesOK) IsSuccess() bool
IsSuccess returns true when this get proj env log entries o k response has a 2xx status code
func (*GetProjEnvLogEntriesOK) String ¶
func (o *GetProjEnvLogEntriesOK) String() string
type GetProjEnvLogEntriesOKBody ¶
type GetProjEnvLogEntriesOKBody struct {
// data
// Required: true
Data []*models.LogSourceEntry `json:"data"`
}
GetProjEnvLogEntriesOKBody The list of log lines swagger:model GetProjEnvLogEntriesOKBody
func (*GetProjEnvLogEntriesOKBody) ContextValidate ¶
func (o *GetProjEnvLogEntriesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get proj env log entries o k body based on the context it is used
func (*GetProjEnvLogEntriesOKBody) MarshalBinary ¶
func (o *GetProjEnvLogEntriesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjEnvLogEntriesOKBody) UnmarshalBinary ¶
func (o *GetProjEnvLogEntriesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjEnvLogEntriesParams ¶
type GetProjEnvLogEntriesParams struct {
/* Begin.
The unix timestamp in milliseconds, which indicate the start of the time range.
Format: uint64
*/
Begin *uint64
/* End.
The unix timestamp in milliseconds, which indicate the end of the time range.
Format: uint64
*/
End *uint64
/* EnvironmentCanonical.
The environment canonical to use as part of a path
*/
EnvironmentCanonical string
/* LogSourceID.
A unique identifier, which group log's entries under under a context, established by the source.
*/
LogSourceID string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
/* Query.
A free text which the content depends of the context of the API endpoint. Can be a free text value or a complete query expressed of supported query language.
*/
Query *string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetProjEnvLogEntriesParams contains all the parameters to send to the API endpoint
for the get proj env log entries operation. Typically these are written to a http.Request.
func NewGetProjEnvLogEntriesParams ¶
func NewGetProjEnvLogEntriesParams() *GetProjEnvLogEntriesParams
NewGetProjEnvLogEntriesParams creates a new GetProjEnvLogEntriesParams 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 NewGetProjEnvLogEntriesParamsWithContext ¶
func NewGetProjEnvLogEntriesParamsWithContext(ctx context.Context) *GetProjEnvLogEntriesParams
NewGetProjEnvLogEntriesParamsWithContext creates a new GetProjEnvLogEntriesParams object with the ability to set a context for a request.
func NewGetProjEnvLogEntriesParamsWithHTTPClient ¶
func NewGetProjEnvLogEntriesParamsWithHTTPClient(client *http.Client) *GetProjEnvLogEntriesParams
NewGetProjEnvLogEntriesParamsWithHTTPClient creates a new GetProjEnvLogEntriesParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjEnvLogEntriesParamsWithTimeout ¶
func NewGetProjEnvLogEntriesParamsWithTimeout(timeout time.Duration) *GetProjEnvLogEntriesParams
NewGetProjEnvLogEntriesParamsWithTimeout creates a new GetProjEnvLogEntriesParams object with the ability to set a timeout on a request.
func (*GetProjEnvLogEntriesParams) SetBegin ¶
func (o *GetProjEnvLogEntriesParams) SetBegin(begin *uint64)
SetBegin adds the begin to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetContext ¶
func (o *GetProjEnvLogEntriesParams) SetContext(ctx context.Context)
SetContext adds the context to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetDefaults ¶
func (o *GetProjEnvLogEntriesParams) SetDefaults()
SetDefaults hydrates default values in the get proj env log entries params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjEnvLogEntriesParams) SetEnd ¶
func (o *GetProjEnvLogEntriesParams) SetEnd(end *uint64)
SetEnd adds the end to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetEnvironmentCanonical ¶
func (o *GetProjEnvLogEntriesParams) SetEnvironmentCanonical(environmentCanonical string)
SetEnvironmentCanonical adds the environmentCanonical to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetHTTPClient ¶
func (o *GetProjEnvLogEntriesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetLogSourceID ¶
func (o *GetProjEnvLogEntriesParams) SetLogSourceID(logSourceID string)
SetLogSourceID adds the logSourceId to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetOrganizationCanonical ¶
func (o *GetProjEnvLogEntriesParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetProjectCanonical ¶
func (o *GetProjEnvLogEntriesParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetQuery ¶
func (o *GetProjEnvLogEntriesParams) SetQuery(query *string)
SetQuery adds the query to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) SetTimeout ¶
func (o *GetProjEnvLogEntriesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithBegin ¶
func (o *GetProjEnvLogEntriesParams) WithBegin(begin *uint64) *GetProjEnvLogEntriesParams
WithBegin adds the begin to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithContext ¶
func (o *GetProjEnvLogEntriesParams) WithContext(ctx context.Context) *GetProjEnvLogEntriesParams
WithContext adds the context to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithDefaults ¶
func (o *GetProjEnvLogEntriesParams) WithDefaults() *GetProjEnvLogEntriesParams
WithDefaults hydrates default values in the get proj env log entries params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjEnvLogEntriesParams) WithEnd ¶
func (o *GetProjEnvLogEntriesParams) WithEnd(end *uint64) *GetProjEnvLogEntriesParams
WithEnd adds the end to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithEnvironmentCanonical ¶
func (o *GetProjEnvLogEntriesParams) WithEnvironmentCanonical(environmentCanonical string) *GetProjEnvLogEntriesParams
WithEnvironmentCanonical adds the environmentCanonical to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithHTTPClient ¶
func (o *GetProjEnvLogEntriesParams) WithHTTPClient(client *http.Client) *GetProjEnvLogEntriesParams
WithHTTPClient adds the HTTPClient to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithLogSourceID ¶
func (o *GetProjEnvLogEntriesParams) WithLogSourceID(logSourceID string) *GetProjEnvLogEntriesParams
WithLogSourceID adds the logSourceID to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithOrganizationCanonical ¶
func (o *GetProjEnvLogEntriesParams) WithOrganizationCanonical(organizationCanonical string) *GetProjEnvLogEntriesParams
WithOrganizationCanonical adds the organizationCanonical to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithProjectCanonical ¶
func (o *GetProjEnvLogEntriesParams) WithProjectCanonical(projectCanonical string) *GetProjEnvLogEntriesParams
WithProjectCanonical adds the projectCanonical to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithQuery ¶
func (o *GetProjEnvLogEntriesParams) WithQuery(query *string) *GetProjEnvLogEntriesParams
WithQuery adds the query to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WithTimeout ¶
func (o *GetProjEnvLogEntriesParams) WithTimeout(timeout time.Duration) *GetProjEnvLogEntriesParams
WithTimeout adds the timeout to the get proj env log entries params
func (*GetProjEnvLogEntriesParams) WriteToRequest ¶
func (o *GetProjEnvLogEntriesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjEnvLogEntriesReader ¶
type GetProjEnvLogEntriesReader struct {
// contains filtered or unexported fields
}
GetProjEnvLogEntriesReader is a Reader for the GetProjEnvLogEntries structure.
func (*GetProjEnvLogEntriesReader) ReadResponse ¶
func (o *GetProjEnvLogEntriesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.
type GetProjEnvLogEntriesUnprocessableEntity ¶
type GetProjEnvLogEntriesUnprocessableEntity struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetProjEnvLogEntriesUnprocessableEntity describes a response with status code 422, with default header values.
All the custom errors that are generated from the Cycloid API
func NewGetProjEnvLogEntriesUnprocessableEntity ¶
func NewGetProjEnvLogEntriesUnprocessableEntity() *GetProjEnvLogEntriesUnprocessableEntity
NewGetProjEnvLogEntriesUnprocessableEntity creates a GetProjEnvLogEntriesUnprocessableEntity with default headers values
func (*GetProjEnvLogEntriesUnprocessableEntity) Code ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) Code() int
Code gets the status code for the get proj env log entries unprocessable entity response
func (*GetProjEnvLogEntriesUnprocessableEntity) Error ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) Error() string
func (*GetProjEnvLogEntriesUnprocessableEntity) GetPayload ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogEntriesUnprocessableEntity) IsClientError ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) IsClientError() bool
IsClientError returns true when this get proj env log entries unprocessable entity response has a 4xx status code
func (*GetProjEnvLogEntriesUnprocessableEntity) IsCode ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) IsCode(code int) bool
IsCode returns true when this get proj env log entries unprocessable entity response a status code equal to that given
func (*GetProjEnvLogEntriesUnprocessableEntity) IsRedirect ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) IsRedirect() bool
IsRedirect returns true when this get proj env log entries unprocessable entity response has a 3xx status code
func (*GetProjEnvLogEntriesUnprocessableEntity) IsServerError ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) IsServerError() bool
IsServerError returns true when this get proj env log entries unprocessable entity response has a 5xx status code
func (*GetProjEnvLogEntriesUnprocessableEntity) IsSuccess ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) IsSuccess() bool
IsSuccess returns true when this get proj env log entries unprocessable entity response has a 2xx status code
func (*GetProjEnvLogEntriesUnprocessableEntity) String ¶
func (o *GetProjEnvLogEntriesUnprocessableEntity) String() string
type GetProjEnvLogSourcesDefault ¶
type GetProjEnvLogSourcesDefault struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
// contains filtered or unexported fields
}
GetProjEnvLogSourcesDefault describes a response with status code -1, with default header values.
The response sent when an unexpected error happened, as known as an internal server error.
func NewGetProjEnvLogSourcesDefault ¶
func NewGetProjEnvLogSourcesDefault(code int) *GetProjEnvLogSourcesDefault
NewGetProjEnvLogSourcesDefault creates a GetProjEnvLogSourcesDefault with default headers values
func (*GetProjEnvLogSourcesDefault) Code ¶
func (o *GetProjEnvLogSourcesDefault) Code() int
Code gets the status code for the get proj env log sources default response
func (*GetProjEnvLogSourcesDefault) Error ¶
func (o *GetProjEnvLogSourcesDefault) Error() string
func (*GetProjEnvLogSourcesDefault) GetPayload ¶
func (o *GetProjEnvLogSourcesDefault) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogSourcesDefault) IsClientError ¶
func (o *GetProjEnvLogSourcesDefault) IsClientError() bool
IsClientError returns true when this get proj env log sources default response has a 4xx status code
func (*GetProjEnvLogSourcesDefault) IsCode ¶
func (o *GetProjEnvLogSourcesDefault) IsCode(code int) bool
IsCode returns true when this get proj env log sources default response a status code equal to that given
func (*GetProjEnvLogSourcesDefault) IsRedirect ¶
func (o *GetProjEnvLogSourcesDefault) IsRedirect() bool
IsRedirect returns true when this get proj env log sources default response has a 3xx status code
func (*GetProjEnvLogSourcesDefault) IsServerError ¶
func (o *GetProjEnvLogSourcesDefault) IsServerError() bool
IsServerError returns true when this get proj env log sources default response has a 5xx status code
func (*GetProjEnvLogSourcesDefault) IsSuccess ¶
func (o *GetProjEnvLogSourcesDefault) IsSuccess() bool
IsSuccess returns true when this get proj env log sources default response has a 2xx status code
func (*GetProjEnvLogSourcesDefault) String ¶
func (o *GetProjEnvLogSourcesDefault) String() string
type GetProjEnvLogSourcesForbidden ¶
type GetProjEnvLogSourcesForbidden struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetProjEnvLogSourcesForbidden describes a response with status code 403, with default header values.
The authenticated user cannot perform the operation because, it doesn't have permissions for such operation.
func NewGetProjEnvLogSourcesForbidden ¶
func NewGetProjEnvLogSourcesForbidden() *GetProjEnvLogSourcesForbidden
NewGetProjEnvLogSourcesForbidden creates a GetProjEnvLogSourcesForbidden with default headers values
func (*GetProjEnvLogSourcesForbidden) Code ¶
func (o *GetProjEnvLogSourcesForbidden) Code() int
Code gets the status code for the get proj env log sources forbidden response
func (*GetProjEnvLogSourcesForbidden) Error ¶
func (o *GetProjEnvLogSourcesForbidden) Error() string
func (*GetProjEnvLogSourcesForbidden) GetPayload ¶
func (o *GetProjEnvLogSourcesForbidden) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogSourcesForbidden) IsClientError ¶
func (o *GetProjEnvLogSourcesForbidden) IsClientError() bool
IsClientError returns true when this get proj env log sources forbidden response has a 4xx status code
func (*GetProjEnvLogSourcesForbidden) IsCode ¶
func (o *GetProjEnvLogSourcesForbidden) IsCode(code int) bool
IsCode returns true when this get proj env log sources forbidden response a status code equal to that given
func (*GetProjEnvLogSourcesForbidden) IsRedirect ¶
func (o *GetProjEnvLogSourcesForbidden) IsRedirect() bool
IsRedirect returns true when this get proj env log sources forbidden response has a 3xx status code
func (*GetProjEnvLogSourcesForbidden) IsServerError ¶
func (o *GetProjEnvLogSourcesForbidden) IsServerError() bool
IsServerError returns true when this get proj env log sources forbidden response has a 5xx status code
func (*GetProjEnvLogSourcesForbidden) IsSuccess ¶
func (o *GetProjEnvLogSourcesForbidden) IsSuccess() bool
IsSuccess returns true when this get proj env log sources forbidden response has a 2xx status code
func (*GetProjEnvLogSourcesForbidden) String ¶
func (o *GetProjEnvLogSourcesForbidden) String() string
type GetProjEnvLogSourcesNotFound ¶
type GetProjEnvLogSourcesNotFound struct {
/* The length of the response body in octets (8-bit bytes).
Format: uint64
*/
ContentLength uint64
Payload *models.ErrorPayload
}
GetProjEnvLogSourcesNotFound describes a response with status code 404, with default header values.
The response sent when any of the entities present in the path is not found.
func NewGetProjEnvLogSourcesNotFound ¶
func NewGetProjEnvLogSourcesNotFound() *GetProjEnvLogSourcesNotFound
NewGetProjEnvLogSourcesNotFound creates a GetProjEnvLogSourcesNotFound with default headers values
func (*GetProjEnvLogSourcesNotFound) Code ¶
func (o *GetProjEnvLogSourcesNotFound) Code() int
Code gets the status code for the get proj env log sources not found response
func (*GetProjEnvLogSourcesNotFound) Error ¶
func (o *GetProjEnvLogSourcesNotFound) Error() string
func (*GetProjEnvLogSourcesNotFound) GetPayload ¶
func (o *GetProjEnvLogSourcesNotFound) GetPayload() *models.ErrorPayload
func (*GetProjEnvLogSourcesNotFound) IsClientError ¶
func (o *GetProjEnvLogSourcesNotFound) IsClientError() bool
IsClientError returns true when this get proj env log sources not found response has a 4xx status code
func (*GetProjEnvLogSourcesNotFound) IsCode ¶
func (o *GetProjEnvLogSourcesNotFound) IsCode(code int) bool
IsCode returns true when this get proj env log sources not found response a status code equal to that given
func (*GetProjEnvLogSourcesNotFound) IsRedirect ¶
func (o *GetProjEnvLogSourcesNotFound) IsRedirect() bool
IsRedirect returns true when this get proj env log sources not found response has a 3xx status code
func (*GetProjEnvLogSourcesNotFound) IsServerError ¶
func (o *GetProjEnvLogSourcesNotFound) IsServerError() bool
IsServerError returns true when this get proj env log sources not found response has a 5xx status code
func (*GetProjEnvLogSourcesNotFound) IsSuccess ¶
func (o *GetProjEnvLogSourcesNotFound) IsSuccess() bool
IsSuccess returns true when this get proj env log sources not found response has a 2xx status code
func (*GetProjEnvLogSourcesNotFound) String ¶
func (o *GetProjEnvLogSourcesNotFound) String() string
type GetProjEnvLogSourcesOK ¶
type GetProjEnvLogSourcesOK struct {
Payload *GetProjEnvLogSourcesOKBody
}
GetProjEnvLogSourcesOK describes a response with status code 200, with default header values.
The list of sources related to the project's environment.
func NewGetProjEnvLogSourcesOK ¶
func NewGetProjEnvLogSourcesOK() *GetProjEnvLogSourcesOK
NewGetProjEnvLogSourcesOK creates a GetProjEnvLogSourcesOK with default headers values
func (*GetProjEnvLogSourcesOK) Code ¶
func (o *GetProjEnvLogSourcesOK) Code() int
Code gets the status code for the get proj env log sources o k response
func (*GetProjEnvLogSourcesOK) Error ¶
func (o *GetProjEnvLogSourcesOK) Error() string
func (*GetProjEnvLogSourcesOK) GetPayload ¶
func (o *GetProjEnvLogSourcesOK) GetPayload() *GetProjEnvLogSourcesOKBody
func (*GetProjEnvLogSourcesOK) IsClientError ¶
func (o *GetProjEnvLogSourcesOK) IsClientError() bool
IsClientError returns true when this get proj env log sources o k response has a 4xx status code
func (*GetProjEnvLogSourcesOK) IsCode ¶
func (o *GetProjEnvLogSourcesOK) IsCode(code int) bool
IsCode returns true when this get proj env log sources o k response a status code equal to that given
func (*GetProjEnvLogSourcesOK) IsRedirect ¶
func (o *GetProjEnvLogSourcesOK) IsRedirect() bool
IsRedirect returns true when this get proj env log sources o k response has a 3xx status code
func (*GetProjEnvLogSourcesOK) IsServerError ¶
func (o *GetProjEnvLogSourcesOK) IsServerError() bool
IsServerError returns true when this get proj env log sources o k response has a 5xx status code
func (*GetProjEnvLogSourcesOK) IsSuccess ¶
func (o *GetProjEnvLogSourcesOK) IsSuccess() bool
IsSuccess returns true when this get proj env log sources o k response has a 2xx status code
func (*GetProjEnvLogSourcesOK) String ¶
func (o *GetProjEnvLogSourcesOK) String() string
type GetProjEnvLogSourcesOKBody ¶
type GetProjEnvLogSourcesOKBody struct {
// data
// Required: true
Data []*models.LogSource `json:"data"`
}
GetProjEnvLogSourcesOKBody The list of log sources. swagger:model GetProjEnvLogSourcesOKBody
func (*GetProjEnvLogSourcesOKBody) ContextValidate ¶
func (o *GetProjEnvLogSourcesOKBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this get proj env log sources o k body based on the context it is used
func (*GetProjEnvLogSourcesOKBody) MarshalBinary ¶
func (o *GetProjEnvLogSourcesOKBody) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GetProjEnvLogSourcesOKBody) UnmarshalBinary ¶
func (o *GetProjEnvLogSourcesOKBody) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GetProjEnvLogSourcesParams ¶
type GetProjEnvLogSourcesParams struct {
/* EnvironmentCanonical.
The environment canonical to use as part of a path
*/
EnvironmentCanonical string
/* OrganizationCanonical.
A canonical of an organization.
*/
OrganizationCanonical string
/* ProjectCanonical.
A canonical of a project.
*/
ProjectCanonical string
Context context.Context
HTTPClient *http.Client
// contains filtered or unexported fields
}
GetProjEnvLogSourcesParams contains all the parameters to send to the API endpoint
for the get proj env log sources operation. Typically these are written to a http.Request.
func NewGetProjEnvLogSourcesParams ¶
func NewGetProjEnvLogSourcesParams() *GetProjEnvLogSourcesParams
NewGetProjEnvLogSourcesParams creates a new GetProjEnvLogSourcesParams 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 NewGetProjEnvLogSourcesParamsWithContext ¶
func NewGetProjEnvLogSourcesParamsWithContext(ctx context.Context) *GetProjEnvLogSourcesParams
NewGetProjEnvLogSourcesParamsWithContext creates a new GetProjEnvLogSourcesParams object with the ability to set a context for a request.
func NewGetProjEnvLogSourcesParamsWithHTTPClient ¶
func NewGetProjEnvLogSourcesParamsWithHTTPClient(client *http.Client) *GetProjEnvLogSourcesParams
NewGetProjEnvLogSourcesParamsWithHTTPClient creates a new GetProjEnvLogSourcesParams object with the ability to set a custom HTTPClient for a request.
func NewGetProjEnvLogSourcesParamsWithTimeout ¶
func NewGetProjEnvLogSourcesParamsWithTimeout(timeout time.Duration) *GetProjEnvLogSourcesParams
NewGetProjEnvLogSourcesParamsWithTimeout creates a new GetProjEnvLogSourcesParams object with the ability to set a timeout on a request.
func (*GetProjEnvLogSourcesParams) SetContext ¶
func (o *GetProjEnvLogSourcesParams) SetContext(ctx context.Context)
SetContext adds the context to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) SetDefaults ¶
func (o *GetProjEnvLogSourcesParams) SetDefaults()
SetDefaults hydrates default values in the get proj env log sources params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjEnvLogSourcesParams) SetEnvironmentCanonical ¶
func (o *GetProjEnvLogSourcesParams) SetEnvironmentCanonical(environmentCanonical string)
SetEnvironmentCanonical adds the environmentCanonical to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) SetHTTPClient ¶
func (o *GetProjEnvLogSourcesParams) SetHTTPClient(client *http.Client)
SetHTTPClient adds the HTTPClient to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) SetOrganizationCanonical ¶
func (o *GetProjEnvLogSourcesParams) SetOrganizationCanonical(organizationCanonical string)
SetOrganizationCanonical adds the organizationCanonical to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) SetProjectCanonical ¶
func (o *GetProjEnvLogSourcesParams) SetProjectCanonical(projectCanonical string)
SetProjectCanonical adds the projectCanonical to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) SetTimeout ¶
func (o *GetProjEnvLogSourcesParams) SetTimeout(timeout time.Duration)
SetTimeout adds the timeout to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WithContext ¶
func (o *GetProjEnvLogSourcesParams) WithContext(ctx context.Context) *GetProjEnvLogSourcesParams
WithContext adds the context to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WithDefaults ¶
func (o *GetProjEnvLogSourcesParams) WithDefaults() *GetProjEnvLogSourcesParams
WithDefaults hydrates default values in the get proj env log sources params (not the query body).
All values with no default are reset to their zero value.
func (*GetProjEnvLogSourcesParams) WithEnvironmentCanonical ¶
func (o *GetProjEnvLogSourcesParams) WithEnvironmentCanonical(environmentCanonical string) *GetProjEnvLogSourcesParams
WithEnvironmentCanonical adds the environmentCanonical to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WithHTTPClient ¶
func (o *GetProjEnvLogSourcesParams) WithHTTPClient(client *http.Client) *GetProjEnvLogSourcesParams
WithHTTPClient adds the HTTPClient to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WithOrganizationCanonical ¶
func (o *GetProjEnvLogSourcesParams) WithOrganizationCanonical(organizationCanonical string) *GetProjEnvLogSourcesParams
WithOrganizationCanonical adds the organizationCanonical to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WithProjectCanonical ¶
func (o *GetProjEnvLogSourcesParams) WithProjectCanonical(projectCanonical string) *GetProjEnvLogSourcesParams
WithProjectCanonical adds the projectCanonical to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WithTimeout ¶
func (o *GetProjEnvLogSourcesParams) WithTimeout(timeout time.Duration) *GetProjEnvLogSourcesParams
WithTimeout adds the timeout to the get proj env log sources params
func (*GetProjEnvLogSourcesParams) WriteToRequest ¶
func (o *GetProjEnvLogSourcesParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error
WriteToRequest writes these params to a swagger request
type GetProjEnvLogSourcesReader ¶
type GetProjEnvLogSourcesReader struct {
// contains filtered or unexported fields
}
GetProjEnvLogSourcesReader is a Reader for the GetProjEnvLogSources structure.
func (*GetProjEnvLogSourcesReader) ReadResponse ¶
func (o *GetProjEnvLogSourcesReader) ReadResponse(response runtime.ClientResponse, consumer runtime.Consumer) (interface{}, error)
ReadResponse reads a server response into the received o.