{"modulePath":"github.com/linuxsuren/api-testing/operator","version":"v0.0.0-20250112123332-7b25fa373a92","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package controllers\n\nCopyright 2023 API Testing Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n## Constants\n\n```go\nconst (\n\tConfigVolume  = \"config\"\n\tStorageVolume = \"storage\"\n)\n```\n\n## Functions\n\n```go\nfunc CombineImageTag(img string, tag string) string\n```\nCombineImageTag will return the combined image and tag in the proper format for tags and digests.\n\n## Types\n\n```go\ntype ATestReconciler struct {\n\tclient.Client\n\tScheme *runtime.Scheme\n}\n```\nATestReconciler reconciles a ATest object\n\n```go\nfunc (r *ATestReconciler) Reconcile(ctx context.Context, req ctrl.Request) (result ctrl.Result, err error)\n```\nReconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state. TODO(user): Modify the Reconcile function to compare the state specified by the ATest object against the actual cluster state, and then perform operations to make the cluster state reflect the state specified by the user.\n\nFor more details, check Reconcile and its Result here: - [https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile](https://pkg.go.dev/sigs.k8s.io/controller-runtime@v0.14.1/pkg/reconcile)\n\n```go\nfunc (r *ATestReconciler) SetupWithManager(mgr ctrl.Manager) error\n```\nSetupWithManager sets up the controller with the Manager.\n\n","path":"github.com/linuxsuren/api-testing/operator/controllers","name":"controllers","synopsis":"","isRedistributable":true}
