Documentation
¶
Index ¶
- func BuildQueryOrgsPayload(querySvcQueryOrgsVersion string, querySvcQueryOrgsName string, ...) (*querysvc.QueryOrgsPayload, error)
- func BuildQueryResourcesCountPayload(querySvcQueryResourcesCountVersion string, ...) (*querysvc.QueryResourcesCountPayload, error)
- func BuildQueryResourcesPayload(querySvcQueryResourcesVersion string, querySvcQueryResourcesName string, ...) (*querysvc.QueryResourcesPayload, error)
- func BuildSuggestOrgsPayload(querySvcSuggestOrgsVersion string, querySvcSuggestOrgsQuery string, ...) (*querysvc.SuggestOrgsPayload, error)
- func DecodeLivezResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeQueryOrgsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeQueryResourcesCountResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeQueryResourcesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeReadyzResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func DecodeSuggestOrgsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
- func EncodeQueryOrgsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func EncodeQueryResourcesCountRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func EncodeQueryResourcesRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func EncodeSuggestOrgsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
- func LivezQuerySvcPath() string
- func NewQueryOrgsBadRequest(body *QueryOrgsBadRequestResponseBody) *querysvc.BadRequestError
- func NewQueryOrgsInternalServerError(body *QueryOrgsInternalServerErrorResponseBody) *querysvc.InternalServerError
- func NewQueryOrgsNotFound(body *QueryOrgsNotFoundResponseBody) *querysvc.NotFoundError
- func NewQueryOrgsOrganizationOK(body *QueryOrgsResponseBody) *querysvc.Organization
- func NewQueryOrgsServiceUnavailable(body *QueryOrgsServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
- func NewQueryResourcesBadRequest(body *QueryResourcesBadRequestResponseBody) *querysvc.BadRequestError
- func NewQueryResourcesCountBadRequest(body *QueryResourcesCountBadRequestResponseBody) *querysvc.BadRequestError
- func NewQueryResourcesCountInternalServerError(body *QueryResourcesCountInternalServerErrorResponseBody) *querysvc.InternalServerError
- func NewQueryResourcesCountResultOK(body *QueryResourcesCountResponseBody, cacheControl *string) *querysvc.QueryResourcesCountResult
- func NewQueryResourcesCountServiceUnavailable(body *QueryResourcesCountServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
- func NewQueryResourcesInternalServerError(body *QueryResourcesInternalServerErrorResponseBody) *querysvc.InternalServerError
- func NewQueryResourcesResultOK(body *QueryResourcesResponseBody, cacheControl *string) *querysvc.QueryResourcesResult
- func NewQueryResourcesServiceUnavailable(body *QueryResourcesServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
- func NewReadyzNotReady(body *ReadyzNotReadyResponseBody) *goa.ServiceError
- func NewSuggestOrgsBadRequest(body *SuggestOrgsBadRequestResponseBody) *querysvc.BadRequestError
- func NewSuggestOrgsInternalServerError(body *SuggestOrgsInternalServerErrorResponseBody) *querysvc.InternalServerError
- func NewSuggestOrgsResultOK(body *SuggestOrgsResponseBody) *querysvc.SuggestOrgsResult
- func NewSuggestOrgsServiceUnavailable(body *SuggestOrgsServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
- func QueryOrgsQuerySvcPath() string
- func QueryResourcesCountQuerySvcPath() string
- func QueryResourcesQuerySvcPath() string
- func ReadyzQuerySvcPath() string
- func SuggestOrgsQuerySvcPath() string
- func ValidateOrganizationSuggestionResponseBody(body *OrganizationSuggestionResponseBody) (err error)
- func ValidateQueryOrgsBadRequestResponseBody(body *QueryOrgsBadRequestResponseBody) (err error)
- func ValidateQueryOrgsInternalServerErrorResponseBody(body *QueryOrgsInternalServerErrorResponseBody) (err error)
- func ValidateQueryOrgsNotFoundResponseBody(body *QueryOrgsNotFoundResponseBody) (err error)
- func ValidateQueryOrgsServiceUnavailableResponseBody(body *QueryOrgsServiceUnavailableResponseBody) (err error)
- func ValidateQueryResourcesBadRequestResponseBody(body *QueryResourcesBadRequestResponseBody) (err error)
- func ValidateQueryResourcesCountBadRequestResponseBody(body *QueryResourcesCountBadRequestResponseBody) (err error)
- func ValidateQueryResourcesCountInternalServerErrorResponseBody(body *QueryResourcesCountInternalServerErrorResponseBody) (err error)
- func ValidateQueryResourcesCountResponseBody(body *QueryResourcesCountResponseBody) (err error)
- func ValidateQueryResourcesCountServiceUnavailableResponseBody(body *QueryResourcesCountServiceUnavailableResponseBody) (err error)
- func ValidateQueryResourcesInternalServerErrorResponseBody(body *QueryResourcesInternalServerErrorResponseBody) (err error)
- func ValidateQueryResourcesResponseBody(body *QueryResourcesResponseBody) (err error)
- func ValidateQueryResourcesServiceUnavailableResponseBody(body *QueryResourcesServiceUnavailableResponseBody) (err error)
- func ValidateReadyzNotReadyResponseBody(body *ReadyzNotReadyResponseBody) (err error)
- func ValidateSuggestOrgsBadRequestResponseBody(body *SuggestOrgsBadRequestResponseBody) (err error)
- func ValidateSuggestOrgsInternalServerErrorResponseBody(body *SuggestOrgsInternalServerErrorResponseBody) (err error)
- func ValidateSuggestOrgsResponseBody(body *SuggestOrgsResponseBody) (err error)
- func ValidateSuggestOrgsServiceUnavailableResponseBody(body *SuggestOrgsServiceUnavailableResponseBody) (err error)
- type Client
- func (c *Client) BuildLivezRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildQueryOrgsRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildQueryResourcesCountRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildQueryResourcesRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildReadyzRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) BuildSuggestOrgsRequest(ctx context.Context, v any) (*http.Request, error)
- func (c *Client) Livez() goa.Endpoint
- func (c *Client) QueryOrgs() goa.Endpoint
- func (c *Client) QueryResources() goa.Endpoint
- func (c *Client) QueryResourcesCount() goa.Endpoint
- func (c *Client) Readyz() goa.Endpoint
- func (c *Client) SuggestOrgs() goa.Endpoint
- type OrganizationSuggestionResponseBody
- type QueryOrgsBadRequestResponseBody
- type QueryOrgsInternalServerErrorResponseBody
- type QueryOrgsNotFoundResponseBody
- type QueryOrgsResponseBody
- type QueryOrgsServiceUnavailableResponseBody
- type QueryResourcesBadRequestResponseBody
- type QueryResourcesCountBadRequestResponseBody
- type QueryResourcesCountInternalServerErrorResponseBody
- type QueryResourcesCountResponseBody
- type QueryResourcesCountServiceUnavailableResponseBody
- type QueryResourcesInternalServerErrorResponseBody
- type QueryResourcesResponseBody
- type QueryResourcesServiceUnavailableResponseBody
- type ReadyzNotReadyResponseBody
- type ResourceResponseBody
- type SuggestOrgsBadRequestResponseBody
- type SuggestOrgsInternalServerErrorResponseBody
- type SuggestOrgsResponseBody
- type SuggestOrgsServiceUnavailableResponseBody
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildQueryOrgsPayload ¶ added in v0.4.0
func BuildQueryOrgsPayload(querySvcQueryOrgsVersion string, querySvcQueryOrgsName string, querySvcQueryOrgsDomain string, querySvcQueryOrgsBearerToken string) (*querysvc.QueryOrgsPayload, error)
BuildQueryOrgsPayload builds the payload for the query-svc query-orgs endpoint from CLI flags.
func BuildQueryResourcesCountPayload ¶ added in v0.4.5
func BuildQueryResourcesCountPayload(querySvcQueryResourcesCountVersion string, querySvcQueryResourcesCountName string, querySvcQueryResourcesCountParent string, querySvcQueryResourcesCountType string, querySvcQueryResourcesCountTags string, querySvcQueryResourcesCountTagsAll string, querySvcQueryResourcesCountDateField string, querySvcQueryResourcesCountDateFrom string, querySvcQueryResourcesCountDateTo string, querySvcQueryResourcesCountFilters string, querySvcQueryResourcesCountFiltersAll string, querySvcQueryResourcesCountFiltersOr string, querySvcQueryResourcesCountBearerToken string) (*querysvc.QueryResourcesCountPayload, error)
BuildQueryResourcesCountPayload builds the payload for the query-svc query-resources-count endpoint from CLI flags.
func BuildQueryResourcesPayload ¶
func BuildQueryResourcesPayload(querySvcQueryResourcesVersion string, querySvcQueryResourcesName string, querySvcQueryResourcesParent string, querySvcQueryResourcesType string, querySvcQueryResourcesTags string, querySvcQueryResourcesTagsAll string, querySvcQueryResourcesDateField string, querySvcQueryResourcesDateFrom string, querySvcQueryResourcesDateTo string, querySvcQueryResourcesFilters string, querySvcQueryResourcesFiltersAll string, querySvcQueryResourcesFiltersOr string, querySvcQueryResourcesCelFilter string, querySvcQueryResourcesFilterGrants string, querySvcQueryResourcesSort string, querySvcQueryResourcesPageToken string, querySvcQueryResourcesPageSize string, querySvcQueryResourcesBearerToken string) (*querysvc.QueryResourcesPayload, error)
BuildQueryResourcesPayload builds the payload for the query-svc query-resources endpoint from CLI flags.
func BuildSuggestOrgsPayload ¶ added in v0.4.1
func BuildSuggestOrgsPayload(querySvcSuggestOrgsVersion string, querySvcSuggestOrgsQuery string, querySvcSuggestOrgsBearerToken string) (*querysvc.SuggestOrgsPayload, error)
BuildSuggestOrgsPayload builds the payload for the query-svc suggest-orgs endpoint from CLI flags.
func DecodeLivezResponse ¶
func DecodeLivezResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeLivezResponse returns a decoder for responses returned by the query-svc livez endpoint. restoreBody controls whether the response body should be restored after having been read.
func DecodeQueryOrgsResponse ¶ added in v0.4.0
func DecodeQueryOrgsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeQueryOrgsResponse returns a decoder for responses returned by the query-svc query-orgs endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeQueryOrgsResponse may return the following errors:
- "BadRequest" (type *querysvc.BadRequestError): http.StatusBadRequest
- "InternalServerError" (type *querysvc.InternalServerError): http.StatusInternalServerError
- "NotFound" (type *querysvc.NotFoundError): http.StatusNotFound
- "ServiceUnavailable" (type *querysvc.ServiceUnavailableError): http.StatusServiceUnavailable
- error: internal error
func DecodeQueryResourcesCountResponse ¶ added in v0.4.5
func DecodeQueryResourcesCountResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeQueryResourcesCountResponse returns a decoder for responses returned by the query-svc query-resources-count endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeQueryResourcesCountResponse may return the following errors:
- "BadRequest" (type *querysvc.BadRequestError): http.StatusBadRequest
- "InternalServerError" (type *querysvc.InternalServerError): http.StatusInternalServerError
- "ServiceUnavailable" (type *querysvc.ServiceUnavailableError): http.StatusServiceUnavailable
- error: internal error
func DecodeQueryResourcesResponse ¶
func DecodeQueryResourcesResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeQueryResourcesResponse returns a decoder for responses returned by the query-svc query-resources endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeQueryResourcesResponse may return the following errors:
- "BadRequest" (type *querysvc.BadRequestError): http.StatusBadRequest
- "InternalServerError" (type *querysvc.InternalServerError): http.StatusInternalServerError
- "ServiceUnavailable" (type *querysvc.ServiceUnavailableError): http.StatusServiceUnavailable
- error: internal error
func DecodeReadyzResponse ¶
func DecodeReadyzResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeReadyzResponse returns a decoder for responses returned by the query-svc readyz endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeReadyzResponse may return the following errors:
- "NotReady" (type *goa.ServiceError): http.StatusServiceUnavailable
- error: internal error
func DecodeSuggestOrgsResponse ¶ added in v0.4.1
func DecodeSuggestOrgsResponse(decoder func(*http.Response) goahttp.Decoder, restoreBody bool) func(*http.Response) (any, error)
DecodeSuggestOrgsResponse returns a decoder for responses returned by the query-svc suggest-orgs endpoint. restoreBody controls whether the response body should be restored after having been read. DecodeSuggestOrgsResponse may return the following errors:
- "BadRequest" (type *querysvc.BadRequestError): http.StatusBadRequest
- "InternalServerError" (type *querysvc.InternalServerError): http.StatusInternalServerError
- "ServiceUnavailable" (type *querysvc.ServiceUnavailableError): http.StatusServiceUnavailable
- error: internal error
func EncodeQueryOrgsRequest ¶ added in v0.4.0
func EncodeQueryOrgsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeQueryOrgsRequest returns an encoder for requests sent to the query-svc query-orgs server.
func EncodeQueryResourcesCountRequest ¶ added in v0.4.5
func EncodeQueryResourcesCountRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeQueryResourcesCountRequest returns an encoder for requests sent to the query-svc query-resources-count server.
func EncodeQueryResourcesRequest ¶
func EncodeQueryResourcesRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeQueryResourcesRequest returns an encoder for requests sent to the query-svc query-resources server.
func EncodeSuggestOrgsRequest ¶ added in v0.4.1
func EncodeSuggestOrgsRequest(encoder func(*http.Request) goahttp.Encoder) func(*http.Request, any) error
EncodeSuggestOrgsRequest returns an encoder for requests sent to the query-svc suggest-orgs server.
func LivezQuerySvcPath ¶
func LivezQuerySvcPath() string
LivezQuerySvcPath returns the URL path to the query-svc service livez HTTP endpoint.
func NewQueryOrgsBadRequest ¶ added in v0.4.0
func NewQueryOrgsBadRequest(body *QueryOrgsBadRequestResponseBody) *querysvc.BadRequestError
NewQueryOrgsBadRequest builds a query-svc service query-orgs endpoint BadRequest error.
func NewQueryOrgsInternalServerError ¶ added in v0.4.0
func NewQueryOrgsInternalServerError(body *QueryOrgsInternalServerErrorResponseBody) *querysvc.InternalServerError
NewQueryOrgsInternalServerError builds a query-svc service query-orgs endpoint InternalServerError error.
func NewQueryOrgsNotFound ¶ added in v0.4.0
func NewQueryOrgsNotFound(body *QueryOrgsNotFoundResponseBody) *querysvc.NotFoundError
NewQueryOrgsNotFound builds a query-svc service query-orgs endpoint NotFound error.
func NewQueryOrgsOrganizationOK ¶ added in v0.4.0
func NewQueryOrgsOrganizationOK(body *QueryOrgsResponseBody) *querysvc.Organization
NewQueryOrgsOrganizationOK builds a "query-svc" service "query-orgs" endpoint result from a HTTP "OK" response.
func NewQueryOrgsServiceUnavailable ¶ added in v0.4.0
func NewQueryOrgsServiceUnavailable(body *QueryOrgsServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
NewQueryOrgsServiceUnavailable builds a query-svc service query-orgs endpoint ServiceUnavailable error.
func NewQueryResourcesBadRequest ¶
func NewQueryResourcesBadRequest(body *QueryResourcesBadRequestResponseBody) *querysvc.BadRequestError
NewQueryResourcesBadRequest builds a query-svc service query-resources endpoint BadRequest error.
func NewQueryResourcesCountBadRequest ¶ added in v0.4.5
func NewQueryResourcesCountBadRequest(body *QueryResourcesCountBadRequestResponseBody) *querysvc.BadRequestError
NewQueryResourcesCountBadRequest builds a query-svc service query-resources-count endpoint BadRequest error.
func NewQueryResourcesCountInternalServerError ¶ added in v0.4.5
func NewQueryResourcesCountInternalServerError(body *QueryResourcesCountInternalServerErrorResponseBody) *querysvc.InternalServerError
NewQueryResourcesCountInternalServerError builds a query-svc service query-resources-count endpoint InternalServerError error.
func NewQueryResourcesCountResultOK ¶ added in v0.4.5
func NewQueryResourcesCountResultOK(body *QueryResourcesCountResponseBody, cacheControl *string) *querysvc.QueryResourcesCountResult
NewQueryResourcesCountResultOK builds a "query-svc" service "query-resources-count" endpoint result from a HTTP "OK" response.
func NewQueryResourcesCountServiceUnavailable ¶ added in v0.4.5
func NewQueryResourcesCountServiceUnavailable(body *QueryResourcesCountServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
NewQueryResourcesCountServiceUnavailable builds a query-svc service query-resources-count endpoint ServiceUnavailable error.
func NewQueryResourcesInternalServerError ¶
func NewQueryResourcesInternalServerError(body *QueryResourcesInternalServerErrorResponseBody) *querysvc.InternalServerError
NewQueryResourcesInternalServerError builds a query-svc service query-resources endpoint InternalServerError error.
func NewQueryResourcesResultOK ¶
func NewQueryResourcesResultOK(body *QueryResourcesResponseBody, cacheControl *string) *querysvc.QueryResourcesResult
NewQueryResourcesResultOK builds a "query-svc" service "query-resources" endpoint result from a HTTP "OK" response.
func NewQueryResourcesServiceUnavailable ¶
func NewQueryResourcesServiceUnavailable(body *QueryResourcesServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
NewQueryResourcesServiceUnavailable builds a query-svc service query-resources endpoint ServiceUnavailable error.
func NewReadyzNotReady ¶
func NewReadyzNotReady(body *ReadyzNotReadyResponseBody) *goa.ServiceError
NewReadyzNotReady builds a query-svc service readyz endpoint NotReady error.
func NewSuggestOrgsBadRequest ¶ added in v0.4.1
func NewSuggestOrgsBadRequest(body *SuggestOrgsBadRequestResponseBody) *querysvc.BadRequestError
NewSuggestOrgsBadRequest builds a query-svc service suggest-orgs endpoint BadRequest error.
func NewSuggestOrgsInternalServerError ¶ added in v0.4.1
func NewSuggestOrgsInternalServerError(body *SuggestOrgsInternalServerErrorResponseBody) *querysvc.InternalServerError
NewSuggestOrgsInternalServerError builds a query-svc service suggest-orgs endpoint InternalServerError error.
func NewSuggestOrgsResultOK ¶ added in v0.4.1
func NewSuggestOrgsResultOK(body *SuggestOrgsResponseBody) *querysvc.SuggestOrgsResult
NewSuggestOrgsResultOK builds a "query-svc" service "suggest-orgs" endpoint result from a HTTP "OK" response.
func NewSuggestOrgsServiceUnavailable ¶ added in v0.4.1
func NewSuggestOrgsServiceUnavailable(body *SuggestOrgsServiceUnavailableResponseBody) *querysvc.ServiceUnavailableError
NewSuggestOrgsServiceUnavailable builds a query-svc service suggest-orgs endpoint ServiceUnavailable error.
func QueryOrgsQuerySvcPath ¶ added in v0.4.0
func QueryOrgsQuerySvcPath() string
QueryOrgsQuerySvcPath returns the URL path to the query-svc service query-orgs HTTP endpoint.
func QueryResourcesCountQuerySvcPath ¶ added in v0.4.5
func QueryResourcesCountQuerySvcPath() string
QueryResourcesCountQuerySvcPath returns the URL path to the query-svc service query-resources-count HTTP endpoint.
func QueryResourcesQuerySvcPath ¶
func QueryResourcesQuerySvcPath() string
QueryResourcesQuerySvcPath returns the URL path to the query-svc service query-resources HTTP endpoint.
func ReadyzQuerySvcPath ¶
func ReadyzQuerySvcPath() string
ReadyzQuerySvcPath returns the URL path to the query-svc service readyz HTTP endpoint.
func SuggestOrgsQuerySvcPath ¶ added in v0.4.1
func SuggestOrgsQuerySvcPath() string
SuggestOrgsQuerySvcPath returns the URL path to the query-svc service suggest-orgs HTTP endpoint.
func ValidateOrganizationSuggestionResponseBody ¶ added in v0.4.1
func ValidateOrganizationSuggestionResponseBody(body *OrganizationSuggestionResponseBody) (err error)
ValidateOrganizationSuggestionResponseBody runs the validations defined on OrganizationSuggestionResponseBody
func ValidateQueryOrgsBadRequestResponseBody ¶ added in v0.4.0
func ValidateQueryOrgsBadRequestResponseBody(body *QueryOrgsBadRequestResponseBody) (err error)
ValidateQueryOrgsBadRequestResponseBody runs the validations defined on query-orgs_BadRequest_response_body
func ValidateQueryOrgsInternalServerErrorResponseBody ¶ added in v0.4.0
func ValidateQueryOrgsInternalServerErrorResponseBody(body *QueryOrgsInternalServerErrorResponseBody) (err error)
ValidateQueryOrgsInternalServerErrorResponseBody runs the validations defined on query-orgs_InternalServerError_response_body
func ValidateQueryOrgsNotFoundResponseBody ¶ added in v0.4.0
func ValidateQueryOrgsNotFoundResponseBody(body *QueryOrgsNotFoundResponseBody) (err error)
ValidateQueryOrgsNotFoundResponseBody runs the validations defined on query-orgs_NotFound_response_body
func ValidateQueryOrgsServiceUnavailableResponseBody ¶ added in v0.4.0
func ValidateQueryOrgsServiceUnavailableResponseBody(body *QueryOrgsServiceUnavailableResponseBody) (err error)
ValidateQueryOrgsServiceUnavailableResponseBody runs the validations defined on query-orgs_ServiceUnavailable_response_body
func ValidateQueryResourcesBadRequestResponseBody ¶
func ValidateQueryResourcesBadRequestResponseBody(body *QueryResourcesBadRequestResponseBody) (err error)
ValidateQueryResourcesBadRequestResponseBody runs the validations defined on query-resources_BadRequest_response_body
func ValidateQueryResourcesCountBadRequestResponseBody ¶ added in v0.4.5
func ValidateQueryResourcesCountBadRequestResponseBody(body *QueryResourcesCountBadRequestResponseBody) (err error)
ValidateQueryResourcesCountBadRequestResponseBody runs the validations defined on query-resources-count_BadRequest_response_body
func ValidateQueryResourcesCountInternalServerErrorResponseBody ¶ added in v0.4.5
func ValidateQueryResourcesCountInternalServerErrorResponseBody(body *QueryResourcesCountInternalServerErrorResponseBody) (err error)
ValidateQueryResourcesCountInternalServerErrorResponseBody runs the validations defined on query-resources-count_InternalServerError_response_body
func ValidateQueryResourcesCountResponseBody ¶ added in v0.4.5
func ValidateQueryResourcesCountResponseBody(body *QueryResourcesCountResponseBody) (err error)
ValidateQueryResourcesCountResponseBody runs the validations defined on Query-Resources-CountResponseBody
func ValidateQueryResourcesCountServiceUnavailableResponseBody ¶ added in v0.4.5
func ValidateQueryResourcesCountServiceUnavailableResponseBody(body *QueryResourcesCountServiceUnavailableResponseBody) (err error)
ValidateQueryResourcesCountServiceUnavailableResponseBody runs the validations defined on query-resources-count_ServiceUnavailable_response_body
func ValidateQueryResourcesInternalServerErrorResponseBody ¶
func ValidateQueryResourcesInternalServerErrorResponseBody(body *QueryResourcesInternalServerErrorResponseBody) (err error)
ValidateQueryResourcesInternalServerErrorResponseBody runs the validations defined on query-resources_InternalServerError_response_body
func ValidateQueryResourcesResponseBody ¶
func ValidateQueryResourcesResponseBody(body *QueryResourcesResponseBody) (err error)
ValidateQueryResourcesResponseBody runs the validations defined on Query-ResourcesResponseBody
func ValidateQueryResourcesServiceUnavailableResponseBody ¶
func ValidateQueryResourcesServiceUnavailableResponseBody(body *QueryResourcesServiceUnavailableResponseBody) (err error)
ValidateQueryResourcesServiceUnavailableResponseBody runs the validations defined on query-resources_ServiceUnavailable_response_body
func ValidateReadyzNotReadyResponseBody ¶
func ValidateReadyzNotReadyResponseBody(body *ReadyzNotReadyResponseBody) (err error)
ValidateReadyzNotReadyResponseBody runs the validations defined on readyz_NotReady_response_body
func ValidateSuggestOrgsBadRequestResponseBody ¶ added in v0.4.1
func ValidateSuggestOrgsBadRequestResponseBody(body *SuggestOrgsBadRequestResponseBody) (err error)
ValidateSuggestOrgsBadRequestResponseBody runs the validations defined on suggest-orgs_BadRequest_response_body
func ValidateSuggestOrgsInternalServerErrorResponseBody ¶ added in v0.4.1
func ValidateSuggestOrgsInternalServerErrorResponseBody(body *SuggestOrgsInternalServerErrorResponseBody) (err error)
ValidateSuggestOrgsInternalServerErrorResponseBody runs the validations defined on suggest-orgs_InternalServerError_response_body
func ValidateSuggestOrgsResponseBody ¶ added in v0.4.1
func ValidateSuggestOrgsResponseBody(body *SuggestOrgsResponseBody) (err error)
ValidateSuggestOrgsResponseBody runs the validations defined on Suggest-OrgsResponseBody
func ValidateSuggestOrgsServiceUnavailableResponseBody ¶ added in v0.4.1
func ValidateSuggestOrgsServiceUnavailableResponseBody(body *SuggestOrgsServiceUnavailableResponseBody) (err error)
ValidateSuggestOrgsServiceUnavailableResponseBody runs the validations defined on suggest-orgs_ServiceUnavailable_response_body
Types ¶
type Client ¶
type Client struct {
// QueryResources Doer is the HTTP client used to make requests to the
// query-resources endpoint.
QueryResourcesDoer goahttp.Doer
// QueryResourcesCount Doer is the HTTP client used to make requests to the
// query-resources-count endpoint.
QueryResourcesCountDoer goahttp.Doer
// QueryOrgs Doer is the HTTP client used to make requests to the query-orgs
// endpoint.
QueryOrgsDoer goahttp.Doer
// SuggestOrgs Doer is the HTTP client used to make requests to the
// suggest-orgs endpoint.
SuggestOrgsDoer goahttp.Doer
// Readyz Doer is the HTTP client used to make requests to the readyz endpoint.
ReadyzDoer goahttp.Doer
// Livez Doer is the HTTP client used to make requests to the livez endpoint.
LivezDoer goahttp.Doer
// RestoreResponseBody controls whether the response bodies are reset after
// decoding so they can be read again.
RestoreResponseBody bool
// contains filtered or unexported fields
}
Client lists the query-svc service endpoint HTTP clients.
func NewClient ¶
func NewClient( scheme string, host string, doer goahttp.Doer, enc func(*http.Request) goahttp.Encoder, dec func(*http.Response) goahttp.Decoder, restoreBody bool, ) *Client
NewClient instantiates HTTP clients for all the query-svc service servers.
func (*Client) BuildLivezRequest ¶
BuildLivezRequest instantiates a HTTP request object with method and path set to call the "query-svc" service "livez" endpoint
func (*Client) BuildQueryOrgsRequest ¶ added in v0.4.0
BuildQueryOrgsRequest instantiates a HTTP request object with method and path set to call the "query-svc" service "query-orgs" endpoint
func (*Client) BuildQueryResourcesCountRequest ¶ added in v0.4.5
BuildQueryResourcesCountRequest instantiates a HTTP request object with method and path set to call the "query-svc" service "query-resources-count" endpoint
func (*Client) BuildQueryResourcesRequest ¶
BuildQueryResourcesRequest instantiates a HTTP request object with method and path set to call the "query-svc" service "query-resources" endpoint
func (*Client) BuildReadyzRequest ¶
BuildReadyzRequest instantiates a HTTP request object with method and path set to call the "query-svc" service "readyz" endpoint
func (*Client) BuildSuggestOrgsRequest ¶ added in v0.4.1
BuildSuggestOrgsRequest instantiates a HTTP request object with method and path set to call the "query-svc" service "suggest-orgs" endpoint
func (*Client) Livez ¶
Livez returns an endpoint that makes HTTP requests to the query-svc service livez server.
func (*Client) QueryOrgs ¶ added in v0.4.0
QueryOrgs returns an endpoint that makes HTTP requests to the query-svc service query-orgs server.
func (*Client) QueryResources ¶
QueryResources returns an endpoint that makes HTTP requests to the query-svc service query-resources server.
func (*Client) QueryResourcesCount ¶ added in v0.4.5
QueryResourcesCount returns an endpoint that makes HTTP requests to the query-svc service query-resources-count server.
func (*Client) Readyz ¶
Readyz returns an endpoint that makes HTTP requests to the query-svc service readyz server.
func (*Client) SuggestOrgs ¶ added in v0.4.1
SuggestOrgs returns an endpoint that makes HTTP requests to the query-svc service suggest-orgs server.
type OrganizationSuggestionResponseBody ¶ added in v0.4.1
type OrganizationSuggestionResponseBody struct {
// Organization name
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// Organization domain
Domain *string `form:"domain,omitempty" json:"domain,omitempty" xml:"domain,omitempty"`
// Organization logo URL
Logo *string `form:"logo,omitempty" json:"logo,omitempty" xml:"logo,omitempty"`
}
OrganizationSuggestionResponseBody is used to define fields on response body types.
type QueryOrgsBadRequestResponseBody ¶ added in v0.4.0
type QueryOrgsBadRequestResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryOrgsBadRequestResponseBody is the type of the "query-svc" service "query-orgs" endpoint HTTP response body for the "BadRequest" error.
type QueryOrgsInternalServerErrorResponseBody ¶ added in v0.4.0
type QueryOrgsInternalServerErrorResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryOrgsInternalServerErrorResponseBody is the type of the "query-svc" service "query-orgs" endpoint HTTP response body for the "InternalServerError" error.
type QueryOrgsNotFoundResponseBody ¶ added in v0.4.0
type QueryOrgsNotFoundResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryOrgsNotFoundResponseBody is the type of the "query-svc" service "query-orgs" endpoint HTTP response body for the "NotFound" error.
type QueryOrgsResponseBody ¶ added in v0.4.0
type QueryOrgsResponseBody struct {
// Organization name
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// Organization domain
Domain *string `form:"domain,omitempty" json:"domain,omitempty" xml:"domain,omitempty"`
// Organization industry classification
Industry *string `form:"industry,omitempty" json:"industry,omitempty" xml:"industry,omitempty"`
// Business sector classification
Sector *string `form:"sector,omitempty" json:"sector,omitempty" xml:"sector,omitempty"`
// Employee count or range
Employees *string `form:"employees,omitempty" json:"employees,omitempty" xml:"employees,omitempty"`
}
QueryOrgsResponseBody is the type of the "query-svc" service "query-orgs" endpoint HTTP response body.
type QueryOrgsServiceUnavailableResponseBody ¶ added in v0.4.0
type QueryOrgsServiceUnavailableResponseBody struct {
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryOrgsServiceUnavailableResponseBody is the type of the "query-svc" service "query-orgs" endpoint HTTP response body for the "ServiceUnavailable" error.
type QueryResourcesBadRequestResponseBody ¶
type QueryResourcesBadRequestResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryResourcesBadRequestResponseBody is the type of the "query-svc" service "query-resources" endpoint HTTP response body for the "BadRequest" error.
type QueryResourcesCountBadRequestResponseBody ¶ added in v0.4.5
type QueryResourcesCountBadRequestResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryResourcesCountBadRequestResponseBody is the type of the "query-svc" service "query-resources-count" endpoint HTTP response body for the "BadRequest" error.
type QueryResourcesCountInternalServerErrorResponseBody ¶ added in v0.4.5
type QueryResourcesCountInternalServerErrorResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryResourcesCountInternalServerErrorResponseBody is the type of the "query-svc" service "query-resources-count" endpoint HTTP response body for the "InternalServerError" error.
type QueryResourcesCountResponseBody ¶ added in v0.4.5
type QueryResourcesCountResponseBody struct {
// Count of resources found
Count *uint64 `form:"count,omitempty" json:"count,omitempty" xml:"count,omitempty"`
// True if count is not guaranteed to be exhaustive: client should request a
// narrower query
HasMore *bool `form:"has_more,omitempty" json:"has_more,omitempty" xml:"has_more,omitempty"`
}
QueryResourcesCountResponseBody is the type of the "query-svc" service "query-resources-count" endpoint HTTP response body.
type QueryResourcesCountServiceUnavailableResponseBody ¶ added in v0.4.5
type QueryResourcesCountServiceUnavailableResponseBody struct {
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryResourcesCountServiceUnavailableResponseBody is the type of the "query-svc" service "query-resources-count" endpoint HTTP response body for the "ServiceUnavailable" error.
type QueryResourcesInternalServerErrorResponseBody ¶
type QueryResourcesInternalServerErrorResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryResourcesInternalServerErrorResponseBody is the type of the "query-svc" service "query-resources" endpoint HTTP response body for the "InternalServerError" error.
type QueryResourcesResponseBody ¶
type QueryResourcesResponseBody struct {
// Resources found
Resources []*ResourceResponseBody `form:"resources,omitempty" json:"resources,omitempty" xml:"resources,omitempty"`
// Opaque token if more results are available
PageToken *string `form:"page_token,omitempty" json:"page_token,omitempty" xml:"page_token,omitempty"`
}
QueryResourcesResponseBody is the type of the "query-svc" service "query-resources" endpoint HTTP response body.
type QueryResourcesServiceUnavailableResponseBody ¶
type QueryResourcesServiceUnavailableResponseBody struct {
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
QueryResourcesServiceUnavailableResponseBody is the type of the "query-svc" service "query-resources" endpoint HTTP response body for the "ServiceUnavailable" error.
type ReadyzNotReadyResponseBody ¶
type ReadyzNotReadyResponseBody struct {
// Name is the name of this class of errors.
Name *string `form:"name,omitempty" json:"name,omitempty" xml:"name,omitempty"`
// ID is a unique identifier for this particular occurrence of the problem.
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Message is a human-readable explanation specific to this occurrence of the
// problem.
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
// Is the error temporary?
Temporary *bool `form:"temporary,omitempty" json:"temporary,omitempty" xml:"temporary,omitempty"`
// Is the error a timeout?
Timeout *bool `form:"timeout,omitempty" json:"timeout,omitempty" xml:"timeout,omitempty"`
// Is the error a server-side fault?
Fault *bool `form:"fault,omitempty" json:"fault,omitempty" xml:"fault,omitempty"`
}
ReadyzNotReadyResponseBody is the type of the "query-svc" service "readyz" endpoint HTTP response body for the "NotReady" error.
type ResourceResponseBody ¶
type ResourceResponseBody struct {
// Resource type
Type *string `form:"type,omitempty" json:"type,omitempty" xml:"type,omitempty"`
// Resource ID (within its resource collection)
ID *string `form:"id,omitempty" json:"id,omitempty" xml:"id,omitempty"`
// Resource data snapshot
Data any `form:"data,omitempty" json:"data,omitempty" xml:"data,omitempty"`
}
ResourceResponseBody is used to define fields on response body types.
type SuggestOrgsBadRequestResponseBody ¶ added in v0.4.1
type SuggestOrgsBadRequestResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
SuggestOrgsBadRequestResponseBody is the type of the "query-svc" service "suggest-orgs" endpoint HTTP response body for the "BadRequest" error.
type SuggestOrgsInternalServerErrorResponseBody ¶ added in v0.4.1
type SuggestOrgsInternalServerErrorResponseBody struct {
// Error message
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
SuggestOrgsInternalServerErrorResponseBody is the type of the "query-svc" service "suggest-orgs" endpoint HTTP response body for the "InternalServerError" error.
type SuggestOrgsResponseBody ¶ added in v0.4.1
type SuggestOrgsResponseBody struct {
// Organization suggestions
Suggestions []*OrganizationSuggestionResponseBody `form:"suggestions,omitempty" json:"suggestions,omitempty" xml:"suggestions,omitempty"`
}
SuggestOrgsResponseBody is the type of the "query-svc" service "suggest-orgs" endpoint HTTP response body.
type SuggestOrgsServiceUnavailableResponseBody ¶ added in v0.4.1
type SuggestOrgsServiceUnavailableResponseBody struct {
Message *string `form:"message,omitempty" json:"message,omitempty" xml:"message,omitempty"`
}
SuggestOrgsServiceUnavailableResponseBody is the type of the "query-svc" service "suggest-orgs" endpoint HTTP response body for the "ServiceUnavailable" error.