MCPcopy Create free account
hub / github.com/crossplane/function-template-go / Input

Struct Input

input/v1beta1/input.go:21–27  ·  view source on GitHub ↗

This isn't a custom resource, in the sense that we never install its CRD. It is a KRM-like object, so we generate a CRD to describe its schema. TODO: Add your input type here! It doesn't need to be called 'Input', you can rename it to anything you like. Input can be used to provide input to this Fun

Source from the content-addressed store, hash-verified

19// +kubebuilder:storageversion
20// +kubebuilder:resource:categories=crossplane
21type Input struct {
22 metav1.TypeMeta `json:",inline"`
23 metav1.ObjectMeta `json:"metadata,omitempty"`
24
25 // Example is an example field. Replace it with whatever input you need. :)
26 Example string `json:"example"`
27}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected