Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenShiftAPIServerWorkload ¶
type OpenShiftAPIServerWorkload struct {
// contains filtered or unexported fields
}
OpenShiftAPIServerWorkload is a struct that holds necessary data to install OpenShiftAPIServer
func NewOpenShiftAPIServerWorkload ¶
func NewOpenShiftAPIServerWorkload( operatorClient v1helpers.OperatorClient, operatorConfigClient operatorv1client.OpenShiftAPIServersGetter, openshiftConfigClient openshiftconfigclientv1.ConfigV1Interface, clusterVersionLister configlisterv1.ClusterVersionLister, countNodes nodeCountFunc, ensureAtMostOnePodPerNode ensureAtMostOnePodPerNodeFunc, targetNamespace string, targetImagePullSpec string, operatorImagePullSpec string, kubeClient kubernetes.Interface, versionRecorder status.VersionGetter, ) *OpenShiftAPIServerWorkload
NewOpenShiftAPIServerWorkload creates new OpenShiftAPIServerWorkload struct
func (*OpenShiftAPIServerWorkload) PreconditionFulfilled ¶
func (c *OpenShiftAPIServerWorkload) PreconditionFulfilled(ctx context.Context) (bool, error)
PreconditionFulfilled is a function that indicates whether all prerequisites are met and we can Sync.
func (*OpenShiftAPIServerWorkload) Sync ¶
func (c *OpenShiftAPIServerWorkload) Sync(ctx context.Context, syncContext factory.SyncContext) (*appsv1.Deployment, bool, []error)
Sync takes care of synchronizing (not upgrading) the thing we're managing. most of the time the sync method will be good for a large span of minor versions
Click to show internal directories.
Click to hide internal directories.