func autoConvert_v1beta1_ClusterStatus_To_federation_ClusterStatus(in *ClusterStatus, out *federation.ClusterStatus, s conversion.Scope) error { if in.Conditions != nil { in, out := &in.Conditions, &out.Conditions *out = make([]federation.ClusterCondition, len(*in)) for i := range *in { if err := Convert_v1beta1_ClusterCondition_To_federation_ClusterCondition(&(*in)[i], &(*out)[i], s); err != nil { return err } } } else { out.Conditions = nil } out.Zones = in.Zones out.Region = in.Region return nil }
func autoConvert_v1beta1_ClusterStatus_To_federation_ClusterStatus(in *ClusterStatus, out *federation.ClusterStatus, s conversion.Scope) error { out.Conditions = *(*[]federation.ClusterCondition)(unsafe.Pointer(&in.Conditions)) out.Zones = *(*[]string)(unsafe.Pointer(&in.Zones)) out.Region = in.Region return nil }