Documentation
¶
Overview ¶
Package dependencies provides dependency management functionality for Clowder applications
Index ¶
- Variables
- func GetDependencies(c *p.Provider) (p.ClowderProvider, error)
- func NewDependenciesProvider(p *providers.Provider) (providers.ClowderProvider, error)
- func TestMissingDependency(t *testing.T)
- func TestMultiDependency(t *testing.T)
- func TestOptionalDependency(t *testing.T)
- func TestSingleDependency(t *testing.T)
- type IDAndParams
- type Params
Constants ¶
This section is empty.
Variables ¶
var ProvName = "dependencies"
ProvName sets the provider name identifier
Functions ¶
func GetDependencies ¶
func GetDependencies(c *p.Provider) (p.ClowderProvider, error)
GetDependencies returns the correct end provider.
func NewDependenciesProvider ¶
func NewDependenciesProvider(p *providers.Provider) (providers.ClowderProvider, error)
NewDependenciesProvider returns a new End provider run at the end of the provider set.
func TestMissingDependency ¶
TestMissingDependency tests the behavior when a dependency is missing
func TestMultiDependency ¶
TestMultiDependency tests the behavior with multiple dependencies
func TestOptionalDependency ¶
TestOptionalDependency tests the behavior of optional dependencies
func TestSingleDependency ¶
TestSingleDependency tests the behavior of a single dependency
Types ¶
type IDAndParams ¶
IDAndParams holds an identifier and associated resource parameters
func NewIDAndParam ¶
func NewIDAndParam(id, limitCPU, limitMemory, requestsCPU, requestsMemory string) IDAndParams
NewIDAndParam creates a new IDAndParams instance with the specified resource parameters