Documentation ¶
Index ¶
- func DeleteWorkspaceDeployment(ctx context.Context, workspace *devworkspace.DevWorkspace, ...) (wait bool, err error)
- func GetDevWorkspaceSecurityContext() *corev1.PodSecurityContext
- 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, ...) (clusterObject runtime.Object, didChange bool, apiErr error)
- type ClusterAPI
- type DeploymentProvisioningStatus
- type ProvisioningStatus
- type PullSecretsProvisioningStatus
- type RoutingProvisioningStatus
- type ServiceAcctProvisioningStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteWorkspaceDeployment ¶
func DeleteWorkspaceDeployment(ctx context.Context, workspace *devworkspace.DevWorkspace, client runtimeClient.Client) (wait bool, err error)
DeleteWorkspaceDeployment deletes the deployment for the DevWorkspace
func GetDevWorkspaceSecurityContext ¶
func GetDevWorkspaceSecurityContext() *corev1.PodSecurityContext
Types ¶
type ClusterAPI ¶
type DeploymentProvisioningStatus ¶
type DeploymentProvisioningStatus struct {
ProvisioningStatus
}
func SyncDeploymentToCluster ¶
func SyncDeploymentToCluster( workspace *devworkspace.DevWorkspace, podAdditions []v1alpha1.PodAdditions, 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 Message string }
func SyncRBAC ¶
func SyncRBAC(workspace *devworkspace.DevWorkspace, client client.Client, reqLogger logr.Logger) ProvisioningStatus
SyncRBAC generates RBAC and synchronizes the runtime objects
type PullSecretsProvisioningStatus ¶ added in v0.2.0
type PullSecretsProvisioningStatus struct { ProvisioningStatus v1alpha1.PodAdditions }
func PullSecrets ¶ added in v0.2.0
func PullSecrets(clusterAPI ClusterAPI) PullSecretsProvisioningStatus
type RoutingProvisioningStatus ¶
type RoutingProvisioningStatus struct { ProvisioningStatus PodAdditions *v1alpha1.PodAdditions ExposedEndpoints map[string]v1alpha1.ExposedEndpointList }
func SyncRoutingToCluster ¶
func SyncRoutingToCluster( workspace *devworkspace.DevWorkspace, 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.