httproute

package
v0.29.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceType       = "Applications.Core/httpRoutes"
	ResourceTypeSuffix = "httpRoutes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Renderer

type Renderer struct {
}

func (Renderer) GetDependencyIDs

func (r Renderer) GetDependencyIDs(ctx context.Context, resource v1.DataModelInterface) (radiusResourceIDs []resources.ID, resourceIDs []resources.ID, err error)

GetDependencyIDs returns nils for the resourceIDs, radiusResourceIDs and an error.

func (Renderer) Render

Render checks if the DataModelInterface is a valid HTTP Route, sets default port if none is provided, creates a ComputedValueReference map, creates a service resource and returns a RendererOutput with the resources and computed values. It returns an error if the service resource creation fails.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL