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.
MakePreconditionFailed builds a goa.ServiceError from an error.
MakeUnauthorized builds a goa.ServiceError from an error.
MakeUnprocessableEntity builds a goa.ServiceError from an error.
NewClient initializes a "Incident" service client given the endpoints.
NewEndpoints wraps the methods of the "Incident" service with endpoints.
NewEscalations initializes result type Escalations from viewed result type Escalations.
NewIncident initializes result type Incident from viewed result type Incident.
NewIncidentList initializes result type IncidentList from viewed result type IncidentList.
NewIndexEndpoint returns an endpoint function that calls the method "index" of service "Incident".
NewIndexEscalationsEndpoint returns an endpoint function that calls the method "index_escalations" of service "Incident".
NewIndexResolutionsEndpoint returns an endpoint function that calls the method "index_resolutions" of service "Incident".
NewResolutions initializes result type Resolutions from viewed result type Resolutions.
NewResolveEndpoint returns an endpoint function that calls the method "resolve" of service "Incident".
NewRunActionEndpoint returns an endpoint function that calls the method "run_action" of service "Incident".
NewShowEndpoint returns an endpoint function that calls the method "show" of service "Incident".
NewViewedEscalations initializes viewed result type Escalations from result type Escalations using the given view.
NewViewedIncident initializes viewed result type Incident from result type Incident using the given view.
NewViewedIncidentList initializes viewed result type IncidentList from result type IncidentList using the given view.
NewViewedResolutions initializes viewed result type Resolutions from result type Resolutions 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

An action defines the steps taken when a policy is violated or when that violation is resolved.
AppliedPolicy describes a policy that is currently applied.
ApprovalRequest describes an approval request to perform one or more actions.
ApprovalSubject is the subject of an approval.
Client is the "Incident" 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.
No description provided by the author
Credentials describes a reference to an API signer in the credentials service in the policy language.
No description provided by the author
No description provided by the author
Endpoints wraps the "Incident" service endpoints.
Escalation holds the status of one or more actions of an escalation.
EscalationAction holds the status of a single action in an escalation.
Escalations is the result type of the Incident service index_escalations method.
Incident is the result type of the Incident service show method.
IncidentList is the result type of the Incident service index method.
IndexEscalationsPayload is the payload type of the Incident service index_escalations method.
IndexPayload is the payload type of the Incident service index method.
IndexResolutionsPayload is the payload type of the Incident service index_resolutions 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.
Resolution holds the status of one or more actions of a resolution.
ResolutionAction holds the status of a single action in a resolution.
Resolutions is the result type of the Incident service index_resolutions method.
ResolvePayload is the payload type of the Incident service resolve method.
RunActionPayload is the payload type of the Incident service run_action method.
RunActionResult is the result type of the Incident service run_action method.
ShowPayload is the payload type of the Incident service show method.
User represents a registered RightScale user.

# Interfaces

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

# Type aliases

No description provided by the author