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

# Packages

No description provided by the author

# Functions

MakeBadGateway builds a goa.ServiceError from an error.
MakeBadRequest builds a goa.ServiceError from an error.
MakeForbidden builds a goa.ServiceError from an error.
MakeInternalError builds a goa.ServiceError from an error.
MakeNotFound builds a goa.ServiceError from an error.
MakeUnauthorized builds a goa.ServiceError from an error.
MakeUnprocessableEntity builds a goa.ServiceError from an error.
NewAppliedPolicy initializes result type AppliedPolicy from viewed result type AppliedPolicy.
NewAppliedPolicyList initializes result type AppliedPolicyList from viewed result type AppliedPolicyList.
NewAppliedPolicyLog initializes result type AppliedPolicyLog from viewed result type AppliedPolicyLog.
NewAppliedPolicyStatus initializes result type AppliedPolicyStatus from viewed result type AppliedPolicyStatus.
NewClient initializes a "AppliedPolicy" service client given the endpoints.
NewCreateEndpoint returns an endpoint function that calls the method "create" of service "AppliedPolicy".
NewDeleteEndpoint returns an endpoint function that calls the method "delete" of service "AppliedPolicy".
NewEndpoints wraps the methods of the "AppliedPolicy" service with endpoints.
NewEvaluateEndpoint returns an endpoint function that calls the method "evaluate" of service "AppliedPolicy".
NewIndexEndpoint returns an endpoint function that calls the method "index" of service "AppliedPolicy".
NewShowEndpoint returns an endpoint function that calls the method "show" of service "AppliedPolicy".
NewShowLogEndpoint returns an endpoint function that calls the method "show_log" of service "AppliedPolicy".
NewShowStatusEndpoint returns an endpoint function that calls the method "show_status" of service "AppliedPolicy".
NewUpdateEndpoint returns an endpoint function that calls the method "update" of service "AppliedPolicy".
NewViewedAppliedPolicy initializes viewed result type AppliedPolicy from result type AppliedPolicy using the given view.
NewViewedAppliedPolicyList initializes viewed result type AppliedPolicyList from result type AppliedPolicyList using the given view.
NewViewedAppliedPolicyLog initializes viewed result type AppliedPolicyLog from result type AppliedPolicyLog using the given view.
NewViewedAppliedPolicyStatus initializes viewed result type AppliedPolicyStatus from result type AppliedPolicyStatus using the given view.

# Constants

ServiceName is the name of the service as defined in the design.

# Variables

MethodNames lists the service method names as defined in the design.

# Structs

AppliedPolicy is the result type of the AppliedPolicy service create method.
AppliedPolicyList is the result type of the AppliedPolicy service index method.
AppliedPolicyLog is the result type of the AppliedPolicy service show_log method.
AppliedPolicyStatus is the result type of the AppliedPolicy service show_status method.
Client is the "AppliedPolicy" service client.
ConfigurationOption describes a single parameter value used to configure an applied policy.
ConfigurationOptionCreateType is the payload for creating a single parameter value used to configure an applied policy.
CreatePayload is the payload type of the AppliedPolicy service create method.
Credentials describes a reference to an API signer in the credentials service in the policy language.
No description provided by the author
DeletePayload is the payload type of the AppliedPolicy service delete method.
Endpoints wraps the "AppliedPolicy" service endpoints.
EvaluatePayload is the payload type of the AppliedPolicy service evaluate method.
IndexPayload is the payload type of the AppliedPolicy service index method.
Parameter defines a parameter given as input to a Policy.
Permission defines a role required in RightScale to perform actions on resources.
PolicyTemplate describes a previously uploaded policy template.
Project represents a RightScale project and provides some information about the project.
PublishedTemplate describes a previously created published template.
Regular expression.
ShowLogPayload is the payload type of the AppliedPolicy service show_log method.
ShowPayload is the payload type of the AppliedPolicy service show method.
ShowStatusPayload is the payload type of the AppliedPolicy service show_status method.
UpdatePayload is the payload type of the AppliedPolicy service update method.
User represents a registered RightScale user.

# Interfaces

Auther defines the authorization functions to be implemented by the service.
Service is the AppliedPolicy service interface.

# Type aliases

No description provided by the author