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.
Click to show internal directories.
Click to hide internal directories.