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.
NewClient initializes a "PolicyTemplate" service client given the endpoints.
NewCompileEndpoint returns an endpoint function that calls the method "compile" of service "PolicyTemplate".
NewDeleteEndpoint returns an endpoint function that calls the method "delete" of service "PolicyTemplate".
NewEndpoints wraps the methods of the "PolicyTemplate" service with endpoints.
NewIndexEndpoint returns an endpoint function that calls the method "index" of service "PolicyTemplate".
NewPolicyTemplate initializes result type PolicyTemplate from viewed result type PolicyTemplate.
NewPolicyTemplateList initializes result type PolicyTemplateList from viewed result type PolicyTemplateList.
NewRetrieveDataEndpoint returns an endpoint function that calls the method "retrieve_data" of service "PolicyTemplate".
NewShowEndpoint returns an endpoint function that calls the method "show" of service "PolicyTemplate".
NewUpdateEndpoint returns an endpoint function that calls the method "update" of service "PolicyTemplate".
NewUploadEndpoint returns an endpoint function that calls the method "upload" of service "PolicyTemplate".
NewViewedPolicyTemplate initializes viewed result type PolicyTemplate from result type PolicyTemplate using the given view.
NewViewedPolicyTemplateList initializes viewed result type PolicyTemplateList from result type PolicyTemplateList 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

Client is the "PolicyTemplate" service client.
CompilationError is a single compilation error.
Errors occurred during compilation.
CompilePayload is the payload type of the PolicyTemplate service compile method.
ConfigurationOptionCreateType is the payload for creating a single parameter value used to configure an applied policy.
A template with this name already exists.
Credentials describes a reference to an API signer in the credentials service in the policy language.
No description provided by the author
Data contains retrieved datasource or resource data.
DeletePayload is the payload type of the PolicyTemplate service delete method.
Endpoints wraps the "PolicyTemplate" service endpoints.
IndexPayload is the payload type of the PolicyTemplate 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 is the result type of the PolicyTemplate service upload method.
PolicyTemplateList is the result type of the PolicyTemplate service index method.
Regular expression.
RetrieveDataPayload is the payload type of the PolicyTemplate service retrieve_data method.
ShowPayload is the payload type of the PolicyTemplate service show method.
UpdatePayload is the payload type of the PolicyTemplate service update method.
UploadPayload is the payload type of the PolicyTemplate service upload method.
User represents a registered RightScale user.

# Interfaces

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

# Type aliases

No description provided by the author