Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIManagerReconciler ¶
type APIManagerReconciler struct { client.Client *rest.Config APIExportName string SPWorkspacePath string ChartPath string // contains filtered or unexported fields }
APIManagerReconciler reconciles a APIManager object
func (*APIManagerReconciler) Reconcile ¶
func (r *APIManagerReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
Reconcile creates/updates apibidings in users workspaces.
For more details, check Reconcile and its Result here: - https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.12.2/pkg/reconcile
func (*APIManagerReconciler) SetupWithManager ¶
func (r *APIManagerReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TempAPIBinding ¶
type TempAPIBinding struct { APIVersion string `yaml:"apiVersion"` Kind string `yaml:"kind"` Metadata struct { Name string `yaml:"name"` } `yaml:"metadata"` Spec struct { Reference struct { Workspace struct { Path string `yaml:"path"` ExportName string `yaml:"exportName"` } `yaml:"workspace"` } `yaml:"reference"` } `yaml:"spec"` }
TempAPIBinding maps the template of an APIBinding to Go structs.
Click to show internal directories.
Click to hide internal directories.