package
1.5.0
Repository: https://github.com/rightscale/policy_sdk.git
Documentation: pkg.go.dev

# Functions

BuildIndexPayload builds the payload for the IncidentAggregate index endpoint from CLI flags.
BuildShowNonCatalogPayload builds the payload for the IncidentAggregate show_non_catalog endpoint from CLI flags.
BuildShowPayload builds the payload for the IncidentAggregate show endpoint from CLI flags.
DecodeIndexResponse returns a decoder for responses returned by the IncidentAggregate index endpoint.
DecodeShowNonCatalogResponse returns a decoder for responses returned by the IncidentAggregate show_non_catalog endpoint.
DecodeShowResponse returns a decoder for responses returned by the IncidentAggregate show endpoint.
EncodeIndexRequest returns an encoder for requests sent to the IncidentAggregate index server.
EncodeShowNonCatalogRequest returns an encoder for requests sent to the IncidentAggregate show_non_catalog server.
EncodeShowRequest returns an encoder for requests sent to the IncidentAggregate show server.
IndexIncidentAggregatePath returns the URL path to the IncidentAggregate service index HTTP endpoint.
NewClient instantiates HTTP clients for all the IncidentAggregate service servers.
NewIndexBadGateway builds a IncidentAggregate service index endpoint bad_gateway error.
NewIndexBadRequest builds a IncidentAggregate service index endpoint bad_request error.
NewIndexForbidden builds a IncidentAggregate service index endpoint forbidden error.
NewIndexIncidentAggregateListNotModified builds a "IncidentAggregate" service "index" endpoint result from a HTTP "NotModified" response.
NewIndexIncidentAggregateListOK builds a "IncidentAggregate" service "index" endpoint result from a HTTP "OK" response.
NewIndexInternalError builds a IncidentAggregate service index endpoint internal_error error.
NewIndexUnauthorized builds a IncidentAggregate service index endpoint unauthorized error.
NewShowBadGateway builds a IncidentAggregate service show endpoint bad_gateway error.
NewShowBadRequest builds a IncidentAggregate service show endpoint bad_request error.
NewShowForbidden builds a IncidentAggregate service show endpoint forbidden error.
NewShowIncidentAggregateNotModified builds a "IncidentAggregate" service "show" endpoint result from a HTTP "NotModified" response.
NewShowIncidentAggregateOK builds a "IncidentAggregate" service "show" endpoint result from a HTTP "OK" response.
NewShowInternalError builds a IncidentAggregate service show endpoint internal_error error.
NewShowNonCatalogBadGateway builds a IncidentAggregate service show_non_catalog endpoint bad_gateway error.
NewShowNonCatalogBadRequest builds a IncidentAggregate service show_non_catalog endpoint bad_request error.
NewShowNonCatalogForbidden builds a IncidentAggregate service show_non_catalog endpoint forbidden error.
NewShowNonCatalogIncidentAggregateNonCatalogNotModified builds a "IncidentAggregate" service "show_non_catalog" endpoint result from a HTTP "NotModified" response.
NewShowNonCatalogIncidentAggregateNonCatalogOK builds a "IncidentAggregate" service "show_non_catalog" endpoint result from a HTTP "OK" response.
NewShowNonCatalogInternalError builds a IncidentAggregate service show_non_catalog endpoint internal_error error.
NewShowNonCatalogUnauthorized builds a IncidentAggregate service show_non_catalog endpoint unauthorized error.
NewShowNotFound builds a IncidentAggregate service show endpoint not_found error.
NewShowUnauthorized builds a IncidentAggregate service show endpoint unauthorized error.
ShowIncidentAggregatePath returns the URL path to the IncidentAggregate service show HTTP endpoint.
ShowNonCatalogIncidentAggregatePath returns the URL path to the IncidentAggregate service show_non_catalog HTTP endpoint.
ValidateActionSummaryResponseBody runs the validations defined on ActionSummaryResponseBody.
ValidateAppliedPolicyResponseBody runs the validations defined on AppliedPolicyResponseBody.
ValidateConfigurationOptionResponseBody runs the validations defined on ConfigurationOptionResponseBody.
ValidateCredentialsResponseBody runs the validations defined on CredentialsResponseBody.
ValidateCredentialsTagResponseBody runs the validations defined on CredentialsTagResponseBody.
ValidateIncidentAggregateCollectionResponseBody runs the validations defined on IncidentAggregateCollectionResponseBody.
ValidateIncidentAggregateItemCollectionResponseBody runs the validations defined on IncidentAggregateItemCollectionResponseBody.
ValidateIncidentAggregateItemResponseBody runs the validations defined on IncidentAggregateItemResponseBody.
ValidateIncidentAggregateNonCatalogItemCollectionResponseBody runs the validations defined on IncidentAggregateNonCatalogItemCollectionResponseBody.
ValidateIncidentAggregateNonCatalogItemResponseBody runs the validations defined on IncidentAggregateNonCatalogItemResponseBody.
ValidateIncidentAggregateResponseBody runs the validations defined on IncidentAggregateResponseBody.
ValidateIncidentSummaryResponseBody runs the validations defined on IncidentSummaryResponseBody.
ValidateIndexBadGatewayResponseBody runs the validations defined on index_bad_gateway_response_body.
ValidateIndexBadRequestResponseBody runs the validations defined on index_bad_request_response_body.
ValidateIndexForbiddenResponseBody runs the validations defined on index_forbidden_response_body.
ValidateIndexInternalErrorResponseBody runs the validations defined on index_internal_error_response_body.
ValidateIndexUnauthorizedResponseBody runs the validations defined on index_unauthorized_response_body.
ValidateOrgResponseBody runs the validations defined on OrgResponseBody.
ValidateParameterResponseBody runs the validations defined on ParameterResponseBody.
ValidatePermissionResponseBody runs the validations defined on PermissionResponseBody.
ValidatePolicyAggregateItemCollectionResponseBody runs the validations defined on PolicyAggregateItemCollectionResponseBody.
ValidatePolicyAggregateItemResponseBody runs the validations defined on PolicyAggregateItemResponseBody.
ValidatePolicyAggregateNonCatalogItemCollectionResponseBody runs the validations defined on PolicyAggregateNonCatalogItemCollectionResponseBody.
ValidatePolicyAggregateNonCatalogItemResponseBody runs the validations defined on PolicyAggregateNonCatalogItemResponseBody.
ValidatePolicyAggregateNonCatalogResponseBody runs the validations defined on PolicyAggregateNonCatalogResponseBody.
ValidatePolicyAggregateResponseBody runs the validations defined on PolicyAggregateResponseBody.
ValidatePolicyTemplateResponseBody runs the validations defined on PolicyTemplateResponseBody.
ValidateProjectResponseBody runs the validations defined on ProjectResponseBody.
ValidatePublishedTemplateResponseBody runs the validations defined on PublishedTemplateResponseBody.
ValidateRegexpResponseBody runs the validations defined on RegexpResponseBody.
ValidateShowBadGatewayResponseBody runs the validations defined on show_bad_gateway_response_body.
ValidateShowBadRequestResponseBody runs the validations defined on show_bad_request_response_body.
ValidateShowForbiddenResponseBody runs the validations defined on show_forbidden_response_body.
ValidateShowInternalErrorResponseBody runs the validations defined on show_internal_error_response_body.
ValidateShowNonCatalogBadGatewayResponseBody runs the validations defined on show_non_catalog_bad_gateway_response_body.
ValidateShowNonCatalogBadRequestResponseBody runs the validations defined on show_non_catalog_bad_request_response_body.
ValidateShowNonCatalogForbiddenResponseBody runs the validations defined on show_non_catalog_forbidden_response_body.
ValidateShowNonCatalogInternalErrorResponseBody runs the validations defined on show_non_catalog_internal_error_response_body.
ValidateShowNonCatalogUnauthorizedResponseBody runs the validations defined on show_non_catalog_unauthorized_response_body.
ValidateShowNotFoundResponseBody runs the validations defined on show_not_found_response_body.
ValidateShowUnauthorizedResponseBody runs the validations defined on show_unauthorized_response_body.
ValidateUserResponseBody runs the validations defined on UserResponseBody.

# Structs

ActionSummaryResponseBody is used to define fields on response body types.
AppliedPolicyResponseBody is used to define fields on response body types.
Client lists the IncidentAggregate service endpoint HTTP clients.
ConfigurationOptionResponseBody is used to define fields on response body types.
CredentialsResponseBody is used to define fields on response body types.
CredentialsTagResponseBody is used to define fields on response body types.
IncidentAggregateItemResponseBody is used to define fields on response body types.
IncidentAggregateNonCatalogItemResponseBody is used to define fields on response body types.
IncidentAggregateResponseBody is used to define fields on response body types.
IncidentSummaryResponseBody is used to define fields on response body types.
IndexBadGatewayResponseBody is the type of the "IncidentAggregate" service "index" endpoint HTTP response body for the "bad_gateway" error.
IndexBadRequestResponseBody is the type of the "IncidentAggregate" service "index" endpoint HTTP response body for the "bad_request" error.
IndexForbiddenResponseBody is the type of the "IncidentAggregate" service "index" endpoint HTTP response body for the "forbidden" error.
IndexInternalErrorResponseBody is the type of the "IncidentAggregate" service "index" endpoint HTTP response body for the "internal_error" error.
IndexOKResponseBody is the type of the "IncidentAggregate" service "index" endpoint HTTP response body.
IndexUnauthorizedResponseBody is the type of the "IncidentAggregate" service "index" endpoint HTTP response body for the "unauthorized" error.
OrgResponseBody is used to define fields on response body types.
ParameterResponseBody is used to define fields on response body types.
PermissionResponseBody is used to define fields on response body types.
PolicyAggregateItemResponseBody is used to define fields on response body types.
PolicyAggregateNonCatalogItemResponseBody is used to define fields on response body types.
PolicyAggregateNonCatalogResponseBody is used to define fields on response body types.
PolicyAggregateResponseBody is used to define fields on response body types.
PolicyTemplateResponseBody is used to define fields on response body types.
ProjectResponseBody is used to define fields on response body types.
PublishedTemplateResponseBody is used to define fields on response body types.
RegexpResponseBody is used to define fields on response body types.
ShowBadGatewayResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body for the "bad_gateway" error.
ShowBadRequestResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body for the "bad_request" error.
ShowForbiddenResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body for the "forbidden" error.
ShowInternalErrorResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body for the "internal_error" error.
ShowNonCatalogBadGatewayResponseBody is the type of the "IncidentAggregate" service "show_non_catalog" endpoint HTTP response body for the "bad_gateway" error.
ShowNonCatalogBadRequestResponseBody is the type of the "IncidentAggregate" service "show_non_catalog" endpoint HTTP response body for the "bad_request" error.
ShowNonCatalogForbiddenResponseBody is the type of the "IncidentAggregate" service "show_non_catalog" endpoint HTTP response body for the "forbidden" error.
ShowNonCatalogInternalErrorResponseBody is the type of the "IncidentAggregate" service "show_non_catalog" endpoint HTTP response body for the "internal_error" error.
ShowNonCatalogOKResponseBody is the type of the "IncidentAggregate" service "show_non_catalog" endpoint HTTP response body.
ShowNonCatalogUnauthorizedResponseBody is the type of the "IncidentAggregate" service "show_non_catalog" endpoint HTTP response body for the "unauthorized" error.
ShowNotFoundResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body for the "not_found" error.
ShowOKResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body.
ShowUnauthorizedResponseBody is the type of the "IncidentAggregate" service "show" endpoint HTTP response body for the "unauthorized" error.
UserResponseBody is used to define fields on response body types.

# Type aliases

IncidentAggregateCollectionResponseBody is used to define fields on response body types.
IncidentAggregateItemCollectionResponseBody is used to define fields on response body types.
IncidentAggregateNonCatalogItemCollectionResponseBody is used to define fields on response body types.
PolicyAggregateItemCollectionResponseBody is used to define fields on response body types.
PolicyAggregateNonCatalogItemCollectionResponseBody is used to define fields on response body types.