applications

package
v0.33.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ResourceTypeName = "Applications.Core/applications"
)

Variables

View Source
var (
	// ErrInvalidSource reprents the error when the source is not a valid resource ID or URL.
	ErrInvalidSource = errors.New("source is not a valid resource ID or URL")
)

Functions

func CreateAppScopedNamespace

func CreateAppScopedNamespace(ctx context.Context, newResource, oldResource *datamodel.Application, opt *controller.Options) (rest.Response, error)

CreateAppScopedNamespace checks if a namespace already exists for the application and creates one if it doesn't, returning an error if a conflict is found.

func NewGetGraph added in v0.27.0

func NewGetGraph(opts ctrl.Options, connection sdk.Connection) (ctrl.Controller, error)

NewGetGraph creates a new instance of the GetGraph controller.

Types

type GetGraph added in v0.27.0

type GetGraph struct {
	ctrl.Operation[*datamodel.Application, datamodel.Application]
	// contains filtered or unexported fields
}

GetGraph is the controller implementation to get application graph.

func (*GetGraph) Run added in v0.27.0

Jump to

Keyboard shortcuts

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