// GetMachineReadableFormat gathers the readable format and output a Project struct
// for json to marshal
GetMachineReadableFormat gathers the readable format and output a Project struct
for json to marshal
// GetMachineReadableFormat gathers the readable format and output a Project struct // for json to marshal
func GetMachineReadableFormat(projectName string, isActive bool) Project {
	return Project{
		TypeMeta: metav1.TypeMeta{
			Kind:       "Project",
			APIVersion: apiVersion,
		},
		ObjectMeta: metav1.ObjectMeta{
			Name:      projectName,
			Namespace: projectName,
		},
		Spec: ProjectSpec{},
		Status: ProjectStatus{
			Active: isActive,
		},
	}
}
func GetMachineReadableFormat ( projectName string , isActive bool ) Project { return Project { TypeMeta : metav1 . TypeMeta { Kind : " " , APIVersion : apiVersion , } , ObjectMeta : metav1 . ObjectMeta { Name : projectName , Namespace : projectName , } , Spec : ProjectSpec { } , Status : ProjectStatus { Active : isActive , } , } }
GetMachineReadableFormat gathers the readable format and output a Project struct
for json to marshal
GetMachineReadableFormat gathers the readable format and output a Project struct for json to marshal