Documentation ¶
Index ¶
- Constants
- func Add(mgr manager.Manager) error
- type CrManager
- func (m *CrManager) Create() client.Object
- func (m *CrManager) GetAllResources(obj client.Object) ([]client.Object, error)
- func (m *CrManager) GetDependantResourcesListObjects() []client.ObjectList
- func (m *CrManager) IsCreating(cr client.Object) (bool, error)
- func (m *CrManager) Status(cr client.Object) *sdkapi.Status
- type OperatorArgs
- type ReconcileSampleConfig
Constants ¶
View Source
const ( // HTTPServerDeploymentName defines the name of the HTTP server deployment HTTPServerDeploymentName = "http-server" // HTTPServerName defines the name of the HTTP server service HTTPServerName = "http-server" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CrManager ¶
type CrManager struct {
// contains filtered or unexported fields
}
CrManager provides test CR management functionality
func (*CrManager) GetAllResources ¶
GetAllResources provides all resources managed by the cr
func (*CrManager) GetDependantResourcesListObjects ¶
func (m *CrManager) GetDependantResourcesListObjects() []client.ObjectList
GetDependantResourcesListObjects returns resource list objects of dependant resources
func (*CrManager) IsCreating ¶
IsCreating checks whether creation of the managed resources will be executed
type OperatorArgs ¶
type OperatorArgs struct { OperatorVersion string `required:"true" split_words:"true"` ServerImage string `required:"true" split_words:"true"` Namespace string }
OperatorArgs contains the required parameters to generate all namespaced resources
type ReconcileSampleConfig ¶
type ReconcileSampleConfig struct {
// contains filtered or unexported fields
}
ReconcileSampleConfig reconciles a SampleConfig object
func (*ReconcileSampleConfig) Reconcile ¶
func (r *ReconcileSampleConfig) Reconcile(_ context.Context, request reconcile.Request) (reconcile.Result, error)
Reconcile reads that state of the cluster for a SampleConfig object and makes changes based on the state read and what is in the SampleConfig.Spec
func (*ReconcileSampleConfig) SetController ¶
func (r *ReconcileSampleConfig) SetController(controller controller.Controller)
SetController sets the controller dependency
Click to show internal directories.
Click to hide internal directories.