package
0.0.0-20230412210808-dcdb2a03f714
Repository: https://github.com/hashicorp/waypoint-plugin-sdk.git
Documentation: pkg.go.dev

# Functions

NewManager creates a new resource manager.
NewResource creates a new resource.
WithCategoryDisplayHint specifies the category this resource belongs to.
WithCreate sets the creation function for this resource.
WithDeclaredResourcesResp specifies a declared resource response that ResourceManager will automatically populate after creating resources.
WithDestroy sets the function to destroy this resource.
WithDestroyedResourcesResp specifies a destroyed resource response that ResourceManager will automatically populate after creating resources.
WithLogger specifies the logger to use.
WithName sets the resource name.
WithPlatform specifies the name of the platform this resource is being created on (i.e.
WithResource specifies a resource for the manager.
WithState specifies the state type for this resource.
No description provided by the author
WithType optionally sets the type of the resource according to the platform.
WithValueProvider specifies a function that can provide values for the arguments for resource lifecycle functions.

# Structs

Manager manages the lifecycle and state of one or more resources.
Resource is a single resource type with an associated lifecycle and state.
StatusResponse is a container type that holds the resources status reports.

# Type aliases

ManagerOption is used to configure NewManager.
ResourceOption is used to configure NewResource.