Documentation
¶
Index ¶
- func IsPVCRequired(components []v1alpha1.ComponentDescription) bool
- func SyncMutableObjects(objects []runtime.Object, client client.Client, reqLogger logr.Logger) (didChange bool, err error)
- func SyncObject(object runtime.Object, client client.Client, reqLogger logr.Logger, ...) (didChange bool, apiErr error)
- type ClusterAPI
- type ComponentProvisioningStatus
- type DeploymentProvisioningStatus
- type ProvisioningStatus
- type RoutingProvisioningStatus
- type ServiceAcctProvisioningStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsPVCRequired ¶
func IsPVCRequired(components []v1alpha1.ComponentDescription) bool
IsPVCRequired checks to see if we need a PVC for the given devfile. If there is any Containers with VolumeMounts that have the same name as the workspace PVC name then we need a PVC
Types ¶
type ClusterAPI ¶
type ComponentProvisioningStatus ¶
type ComponentProvisioningStatus struct { ProvisioningStatus ComponentDescriptions []v1alpha1.ComponentDescription }
func SyncComponentsToCluster ¶
func SyncComponentsToCluster( workspace *devworkspace.DevWorkspace, clusterAPI ClusterAPI) ComponentProvisioningStatus
type DeploymentProvisioningStatus ¶
type DeploymentProvisioningStatus struct {
ProvisioningStatus
}
func SyncDeploymentToCluster ¶
func SyncDeploymentToCluster( workspace *devworkspace.DevWorkspace, podAdditions []v1alpha1.PodAdditions, components []v1alpha1.ComponentDescription, saName string, clusterAPI ClusterAPI) DeploymentProvisioningStatus
type ProvisioningStatus ¶
type ProvisioningStatus struct { // Continue should be true if cluster state matches spec state for this step Continue bool Requeue bool FailStartup bool Err error }
func SyncPVC ¶
func SyncPVC(workspace *devworkspace.DevWorkspace, components []v1alpha1.ComponentDescription, client client.Client, reqLogger logr.Logger) ProvisioningStatus
func SyncRBAC ¶
func SyncRBAC(workspace *devworkspace.DevWorkspace, client client.Client, reqLogger logr.Logger) ProvisioningStatus
SyncRBAC generates RBAC and synchronizes the runtime objects
type RoutingProvisioningStatus ¶
type RoutingProvisioningStatus struct { ProvisioningStatus PodAdditions *v1alpha1.PodAdditions ExposedEndpoints map[string]v1alpha1.ExposedEndpointList }
func SyncRoutingToCluster ¶
func SyncRoutingToCluster( workspace *devworkspace.DevWorkspace, components []v1alpha1.ComponentDescription, clusterAPI ClusterAPI) RoutingProvisioningStatus
type ServiceAcctProvisioningStatus ¶
type ServiceAcctProvisioningStatus struct { ProvisioningStatus ServiceAccountName string }
func SyncServiceAccount ¶
func SyncServiceAccount( workspace *devworkspace.DevWorkspace, additionalAnnotations map[string]string, clusterAPI ClusterAPI) ServiceAcctProvisioningStatus
Click to show internal directories.
Click to hide internal directories.