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

# Functions

BuildCreatePayload builds the payload for the PolicyAggregate create endpoint from CLI flags.
BuildDeletePayload builds the payload for the PolicyAggregate delete endpoint from CLI flags.
BuildIndexPayload builds the payload for the PolicyAggregate index endpoint from CLI flags.
BuildShowNonCatalogPayload builds the payload for the PolicyAggregate show_non_catalog endpoint from CLI flags.
BuildShowPayload builds the payload for the PolicyAggregate show endpoint from CLI flags.
BuildUpdatePayload builds the payload for the PolicyAggregate update endpoint from CLI flags.
CreatePolicyAggregatePath returns the URL path to the PolicyAggregate service create HTTP endpoint.
DecodeCreateResponse returns a decoder for responses returned by the PolicyAggregate create endpoint.
DecodeDeleteResponse returns a decoder for responses returned by the PolicyAggregate delete endpoint.
DecodeIndexResponse returns a decoder for responses returned by the PolicyAggregate index endpoint.
DecodeShowNonCatalogResponse returns a decoder for responses returned by the PolicyAggregate show_non_catalog endpoint.
DecodeShowResponse returns a decoder for responses returned by the PolicyAggregate show endpoint.
DecodeUpdateResponse returns a decoder for responses returned by the PolicyAggregate update endpoint.
DeletePolicyAggregatePath returns the URL path to the PolicyAggregate service delete HTTP endpoint.
EncodeCreateRequest returns an encoder for requests sent to the PolicyAggregate create server.
EncodeDeleteRequest returns an encoder for requests sent to the PolicyAggregate delete server.
EncodeIndexRequest returns an encoder for requests sent to the PolicyAggregate index server.
EncodeShowNonCatalogRequest returns an encoder for requests sent to the PolicyAggregate show_non_catalog server.
EncodeShowRequest returns an encoder for requests sent to the PolicyAggregate show server.
EncodeUpdateRequest returns an encoder for requests sent to the PolicyAggregate update server.
IndexPolicyAggregatePath returns the URL path to the PolicyAggregate service index HTTP endpoint.
NewClient instantiates HTTP clients for all the PolicyAggregate service servers.
NewCreateBadGateway builds a PolicyAggregate service create endpoint bad_gateway error.
NewCreateBadRequest builds a PolicyAggregate service create endpoint bad_request error.
NewCreateForbidden builds a PolicyAggregate service create endpoint forbidden error.
NewCreateInternalError builds a PolicyAggregate service create endpoint internal_error error.
NewCreateRequestBody builds the HTTP request body from the payload of the "create" endpoint of the "PolicyAggregate" service.
NewCreateResultAccepted builds a "PolicyAggregate" service "create" endpoint result from a HTTP "Accepted" response.
NewCreateUnauthorized builds a PolicyAggregate service create endpoint unauthorized error.
NewCreateUnprocessableEntity builds a PolicyAggregate service create endpoint unprocessable_entity error.
NewDeleteBadGateway builds a PolicyAggregate service delete endpoint bad_gateway error.
NewDeleteBadRequest builds a PolicyAggregate service delete endpoint bad_request error.
NewDeleteForbidden builds a PolicyAggregate service delete endpoint forbidden error.
NewDeleteInternalError builds a PolicyAggregate service delete endpoint internal_error error.
NewDeleteNotFound builds a PolicyAggregate service delete endpoint not_found error.
NewDeleteUnauthorized builds a PolicyAggregate service delete endpoint unauthorized error.
NewIndexBadGateway builds a PolicyAggregate service index endpoint bad_gateway error.
NewIndexBadRequest builds a PolicyAggregate service index endpoint bad_request error.
NewIndexForbidden builds a PolicyAggregate service index endpoint forbidden error.
NewIndexInternalError builds a PolicyAggregate service index endpoint internal_error error.
NewIndexPolicyAggregateListNotModified builds a "PolicyAggregate" service "index" endpoint result from a HTTP "NotModified" response.
NewIndexPolicyAggregateListOK builds a "PolicyAggregate" service "index" endpoint result from a HTTP "OK" response.
NewIndexUnauthorized builds a PolicyAggregate service index endpoint unauthorized error.
NewShowBadGateway builds a PolicyAggregate service show endpoint bad_gateway error.
NewShowBadRequest builds a PolicyAggregate service show endpoint bad_request error.
NewShowForbidden builds a PolicyAggregate service show endpoint forbidden error.
NewShowInternalError builds a PolicyAggregate service show endpoint internal_error error.
NewShowNonCatalogBadGateway builds a PolicyAggregate service show_non_catalog endpoint bad_gateway error.
NewShowNonCatalogBadRequest builds a PolicyAggregate service show_non_catalog endpoint bad_request error.
NewShowNonCatalogForbidden builds a PolicyAggregate service show_non_catalog endpoint forbidden error.
NewShowNonCatalogInternalError builds a PolicyAggregate service show_non_catalog endpoint internal_error error.
NewShowNonCatalogPolicyAggregateNonCatalogOK builds a "PolicyAggregate" service "show_non_catalog" endpoint result from a HTTP "OK" response.
NewShowNonCatalogUnauthorized builds a PolicyAggregate service show_non_catalog endpoint unauthorized error.
NewShowNotFound builds a PolicyAggregate service show endpoint not_found error.
NewShowPolicyAggregateOK builds a "PolicyAggregate" service "show" endpoint result from a HTTP "OK" response.
NewShowUnauthorized builds a PolicyAggregate service show endpoint unauthorized error.
NewUpdateBadGateway builds a PolicyAggregate service update endpoint bad_gateway error.
NewUpdateBadRequest builds a PolicyAggregate service update endpoint bad_request error.
NewUpdateForbidden builds a PolicyAggregate service update endpoint forbidden error.
NewUpdateInternalError builds a PolicyAggregate service update endpoint internal_error error.
NewUpdateRequestBody builds the HTTP request body from the payload of the "update" endpoint of the "PolicyAggregate" service.
NewUpdateUnauthorized builds a PolicyAggregate service update endpoint unauthorized error.
ShowNonCatalogPolicyAggregatePath returns the URL path to the PolicyAggregate service show_non_catalog HTTP endpoint.
ShowPolicyAggregatePath returns the URL path to the PolicyAggregate service show HTTP endpoint.
UpdatePolicyAggregatePath returns the URL path to the PolicyAggregate service update HTTP endpoint.
ValidateConfigurationOptionCreateTypeRequestBody runs the validations defined on ConfigurationOptionCreateTypeRequestBody.
ValidateConfigurationOptionResponseBody runs the validations defined on ConfigurationOptionResponseBody.
ValidateCreateBadGatewayResponseBody runs the validations defined on create_bad_gateway_response_body.
ValidateCreateBadRequestResponseBody runs the validations defined on create_bad_request_response_body.
ValidateCreateForbiddenResponseBody runs the validations defined on create_forbidden_response_body.
ValidateCreateInternalErrorResponseBody runs the validations defined on create_internal_error_response_body.
ValidateCreateUnauthorizedResponseBody runs the validations defined on create_unauthorized_response_body.
ValidateCreateUnprocessableEntityResponseBody runs the validations defined on create_unprocessable_entity_response_body.
ValidateCredentialsResponseBody runs the validations defined on CredentialsResponseBody.
ValidateCredentialsTagResponseBody runs the validations defined on CredentialsTagResponseBody.
ValidateDeleteBadGatewayResponseBody runs the validations defined on delete_bad_gateway_response_body.
ValidateDeleteBadRequestResponseBody runs the validations defined on delete_bad_request_response_body.
ValidateDeleteForbiddenResponseBody runs the validations defined on delete_forbidden_response_body.
ValidateDeleteInternalErrorResponseBody runs the validations defined on delete_internal_error_response_body.
ValidateDeleteNotFoundResponseBody runs the validations defined on delete_not_found_response_body.
ValidateDeleteUnauthorizedResponseBody runs the validations defined on delete_unauthorized_response_body.
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.
ValidatePolicyAggregateCollectionResponseBody runs the validations defined on PolicyAggregateCollectionResponseBody.
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.
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.
ValidateUpdateBadGatewayResponseBody runs the validations defined on update_bad_gateway_response_body.
ValidateUpdateBadRequestResponseBody runs the validations defined on update_bad_request_response_body.
ValidateUpdateForbiddenResponseBody runs the validations defined on update_forbidden_response_body.
ValidateUpdateInternalErrorResponseBody runs the validations defined on update_internal_error_response_body.
ValidateUpdateUnauthorizedResponseBody runs the validations defined on update_unauthorized_response_body.
ValidateUserResponseBody runs the validations defined on UserResponseBody.

# Structs

Client lists the PolicyAggregate service endpoint HTTP clients.
ConfigurationOptionCreateTypeRequestBody is used to define fields on request body types.
ConfigurationOptionResponseBody is used to define fields on response body types.
CreateBadGatewayResponseBody is the type of the "PolicyAggregate" service "create" endpoint HTTP response body for the "bad_gateway" error.
CreateBadRequestResponseBody is the type of the "PolicyAggregate" service "create" endpoint HTTP response body for the "bad_request" error.
CreateForbiddenResponseBody is the type of the "PolicyAggregate" service "create" endpoint HTTP response body for the "forbidden" error.
CreateInternalErrorResponseBody is the type of the "PolicyAggregate" service "create" endpoint HTTP response body for the "internal_error" error.
CreateRequestBody is the type of the "PolicyAggregate" service "create" endpoint HTTP request body.
CreateUnauthorizedResponseBody is the type of the "PolicyAggregate" service "create" endpoint HTTP response body for the "unauthorized" error.
CreateUnprocessableEntityResponseBody is the type of the "PolicyAggregate" service "create" endpoint HTTP response body for the "unprocessable_entity" error.
CredentialsResponseBody is used to define fields on response body types.
CredentialsTagResponseBody is used to define fields on response body types.
DeleteBadGatewayResponseBody is the type of the "PolicyAggregate" service "delete" endpoint HTTP response body for the "bad_gateway" error.
DeleteBadRequestResponseBody is the type of the "PolicyAggregate" service "delete" endpoint HTTP response body for the "bad_request" error.
DeleteForbiddenResponseBody is the type of the "PolicyAggregate" service "delete" endpoint HTTP response body for the "forbidden" error.
DeleteInternalErrorResponseBody is the type of the "PolicyAggregate" service "delete" endpoint HTTP response body for the "internal_error" error.
DeleteNotFoundResponseBody is the type of the "PolicyAggregate" service "delete" endpoint HTTP response body for the "not_found" error.
DeleteUnauthorizedResponseBody is the type of the "PolicyAggregate" service "delete" endpoint HTTP response body for the "unauthorized" error.
IndexBadGatewayResponseBody is the type of the "PolicyAggregate" service "index" endpoint HTTP response body for the "bad_gateway" error.
IndexBadRequestResponseBody is the type of the "PolicyAggregate" service "index" endpoint HTTP response body for the "bad_request" error.
IndexForbiddenResponseBody is the type of the "PolicyAggregate" service "index" endpoint HTTP response body for the "forbidden" error.
IndexInternalErrorResponseBody is the type of the "PolicyAggregate" service "index" endpoint HTTP response body for the "internal_error" error.
IndexOKResponseBody is the type of the "PolicyAggregate" service "index" endpoint HTTP response body.
IndexUnauthorizedResponseBody is the type of the "PolicyAggregate" 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.
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 "PolicyAggregate" service "show" endpoint HTTP response body for the "bad_gateway" error.
ShowBadRequestResponseBody is the type of the "PolicyAggregate" service "show" endpoint HTTP response body for the "bad_request" error.
ShowForbiddenResponseBody is the type of the "PolicyAggregate" service "show" endpoint HTTP response body for the "forbidden" error.
ShowInternalErrorResponseBody is the type of the "PolicyAggregate" service "show" endpoint HTTP response body for the "internal_error" error.
ShowNonCatalogBadGatewayResponseBody is the type of the "PolicyAggregate" service "show_non_catalog" endpoint HTTP response body for the "bad_gateway" error.
ShowNonCatalogBadRequestResponseBody is the type of the "PolicyAggregate" service "show_non_catalog" endpoint HTTP response body for the "bad_request" error.
ShowNonCatalogForbiddenResponseBody is the type of the "PolicyAggregate" service "show_non_catalog" endpoint HTTP response body for the "forbidden" error.
ShowNonCatalogInternalErrorResponseBody is the type of the "PolicyAggregate" service "show_non_catalog" endpoint HTTP response body for the "internal_error" error.
ShowNonCatalogResponseBody is the type of the "PolicyAggregate" service "show_non_catalog" endpoint HTTP response body.
ShowNonCatalogUnauthorizedResponseBody is the type of the "PolicyAggregate" service "show_non_catalog" endpoint HTTP response body for the "unauthorized" error.
ShowNotFoundResponseBody is the type of the "PolicyAggregate" service "show" endpoint HTTP response body for the "not_found" error.
ShowResponseBody is the type of the "PolicyAggregate" service "show" endpoint HTTP response body.
ShowUnauthorizedResponseBody is the type of the "PolicyAggregate" service "show" endpoint HTTP response body for the "unauthorized" error.
UpdateBadGatewayResponseBody is the type of the "PolicyAggregate" service "update" endpoint HTTP response body for the "bad_gateway" error.
UpdateBadRequestResponseBody is the type of the "PolicyAggregate" service "update" endpoint HTTP response body for the "bad_request" error.
UpdateForbiddenResponseBody is the type of the "PolicyAggregate" service "update" endpoint HTTP response body for the "forbidden" error.
UpdateInternalErrorResponseBody is the type of the "PolicyAggregate" service "update" endpoint HTTP response body for the "internal_error" error.
UpdateRequestBody is the type of the "PolicyAggregate" service "update" endpoint HTTP request body.
UpdateUnauthorizedResponseBody is the type of the "PolicyAggregate" service "update" endpoint HTTP response body for the "unauthorized" error.
UserResponseBody is used to define fields on response body types.

# Type aliases

PolicyAggregateCollectionResponseBody 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.